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>"
}Update an existing 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>"
}Your Inbound API key. Include it in the Authorization header as: Bearer
Response for status 200
Was this page helpful?