Skip to main content
PUT
/
api
/
e2
/
guard
/
{id}
Update guard rule
curl --request PUT \
  --url https://inbound.new/api/e2/guard/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "config": "<unknown>",
  "isActive": true,
  "priority": 123,
  "action": "<unknown>"
}
'
{
  "id": "<string>",
  "userId": "<string>",
  "name": "<string>",
  "description": "<string>",
  "type": "<string>",
  "config": "<string>",
  "isActive": true,
  "priority": 123,
  "lastTriggeredAt": "<string>",
  "triggerCount": 123,
  "actions": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Authorizations

Authorization
string
header
required

Your Inbound API key. Include it in the Authorization header as: Bearer

Path Parameters

id
string
required

Body

name
string

Rule name

Minimum string length: 1
description
string

Rule description

config
any

Rule configuration (JSON)

isActive
boolean

Whether the rule is active

priority
number

Rule priority

action
any

Rule action configuration

Response

Response for status 200

id
string
required
userId
string
required
name
string
required
description
string · null · null
required
type
string
required
config
string
required
isActive
boolean · null · null
required
priority
number · null · null
required
lastTriggeredAt
string · null · null
required
triggerCount
number · null · null
required
actions
string · null · null
required
createdAt
string · null · null
required
updatedAt
string · null · null
required