Skip to main content
DELETE
/
delete
/
{id}
Delete Agent by ID
curl --request DELETE \
  --url https://server.sellagent.ai/api/agent/delete/{id} \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>'
{
  "message": "Agent deleted successfully.."
}

Headers

x-api-key
string
required

Your API key for authentication

Content-Type
enum<string>
required

Must be application/json

Available options:
application/json
x-workspace-id
string

Optional Workspace ID. Defaults to user's current workspace.

Path Parameters

id
string
required

The unique ID of the agent to delete.

Example:

"686679f702bfb2054ec3d1f0"

Response

Agent deleted successfully.

The response is of type object.