Delete Assistant

Supported Providers
  • OpenAI

Delete an assistant.

delete
Authorizations
Path parameters
assistant_idstringRequired

The ID of the assistant to delete.

Responses
200
OK
application/json
delete
curl https://api.portkey.ai/v1/assistants/asst_abc123 \
  -H "Content-Type: application/json" \
  -H "x-portkey-api-key: $PORTKEY_API_KEY" \
  -H "x-portkey-virtual-key: $PORTKEY_PROVIDER_VIRTUAL_KEY" \
  -H "OpenAI-Beta: assistants=v2" \
  -X DELETE
200

OK

{
  "id": "text",
  "deleted": true,
  "object": "assistant.deleted"
}

Last updated

Was this helpful?