Skip to main content

Delete Canary Deploy

DELETE 
/ai/assistants/:assistant_id/canary-deploys

Endpoint to delete a canary deploy configuration for an assistant.

Removes all canary deploy configurations for the specified assistant.

Request

Path Parameters

    assistant_id Assistant Idrequired

Responses

204: Successful Response

422: Validation Error

Request samples


curl -L -X DELETE 'https://api.telnyx.com/v2/ai/assistants/:assistant_id/canary-deploys' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}