Delete an agent.
Changed onPermanently deletes an agent and all associated data, including its knowledge base, conversations, settings, and analytics. This action cannot be undone.
Warning: This operation is irreversible. All conversations, sources, and settings will be permanently deleted.
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The unique identifier of the agent (formerly known as project).
Response
Agent deleted successfully
Example response
{
"status": "success",
"data": {
"deleted": true
}
}Changes
- warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - warning
added the new
422.00enum value to the/response property for the response status - info
added the non-success response with the status
- warning
- warning
added the new
Agent id is requiredenum value to the/response property for the response status - warning
added the new
Agent with id {projectId} not foundenum value to the/response property for the response status - info
api tag
Agentsadded - info
api tag
Projectsremoved - info
removed the
Project id is requiredenum value from the/response property for the response status - info
removed the
Project with id {projectId} not foundenum value from the/response property for the response status
- warning