curl --request PATCH \
--url https://platform.thena.ai/v1/teams/{teamId}/routing/{ruleId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"description": "<string>",
"evaluationOrder": 123,
"name": "<string>",
"resultTeamId": "<string>",
"andRules": [
"<string>"
],
"orRules": [
"<string>"
]
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"evaluationOrder": 123,
"resultTeamId": "<string>",
"fallbackTeamId": "<string>",
"andRules": [
"<string>"
],
"orRules": [
"<string>"
],
"createdBy": "<string>",
"createdAt": "<string>",
"createdById": "<string>",
"updatedAt": "<string>"
}
}
curl --request PATCH \
--url https://platform.thena.ai/v1/teams/{teamId}/routing/{ruleId} \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"description": "<string>",
"evaluationOrder": 123,
"name": "<string>",
"resultTeamId": "<string>",
"andRules": [
"<string>"
],
"orRules": [
"<string>"
]
}'
{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"teamId": "<string>",
"evaluationOrder": 123,
"resultTeamId": "<string>",
"fallbackTeamId": "<string>",
"andRules": [
"<string>"
],
"orRules": [
"<string>"
],
"createdBy": "<string>",
"createdAt": "<string>",
"createdById": "<string>",
"updatedAt": "<string>"
}
}
Enter your API key
Operation successful
The response is of type object
.