Delete an assistant
Deletes the assistant. Its resources are kept; the conversations people had with it stay readable. Refused with conflict while a widget uses it: remove the widget first.
DELETE/v1/assistants/{assistant_id}
Requires assistants:delete.
Deleting an assistant has its own scope, assistants:delete, so a key that can create and edit assistants cannot remove them.
Deleting is permanent. The assistant’s resources are kept. Conversations people had with it stay readable, but cannot be continued. An assistant that a widget answers for cannot be deleted: the call fails with conflict until you delete the widget or point it at another assistant. See Deleting things.
Authorizations
Authorizationbearerin headerrequiredPath parameters
assistant_idstringrequiredpattern: ^ast_[abcdefghjkmnpqrstuvwxyz23456789]{12}$Response
Delete an assistant
dataobjectrequiredrequest_idstringrequiredPossible codes: authentication_required, invalid_api_key, api_key_expired, api_key_revoked, invalid_access_key
errorobjectrequiredrequest_idstringrequiredPossible codes: insufficient_scope, feature_not_available, admin_required, permission_denied
errorobjectrequiredrequest_idstringrequiredPossible codes: resource_not_found
errorobjectrequiredrequest_idstringrequiredPossible codes: conflict, assistant_has_no_resources
errorobjectrequiredrequest_idstringrequiredPossible codes: rate_limited
errorobjectrequiredrequest_idstringrequiredPossible codes: internal_error
errorobjectrequiredrequest_idstringrequired