Delete an assistant
DELETE/ai/assistants/:assistant_id
Delete an AI Assistant by assistant_id
.
Request
Path Parameters
assistant_id Assistant Idrequired
Responses
200: Successful Response
- application/json
422: Validation Error
- application/json
Request samples
curl -L -X DELETE 'https://api.telnyx.com/v2/ai/assistants/:assistant_id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'
Response samples
{
"id": "string",
"object": "string",
"deleted": true
}
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}