Skip to main content
DELETE
/
v1
/
agents
/
{agent_id}
Delete agent
curl --request DELETE \
  --url https://api.callrounded.com/v1/agents/{agent_id} \
  --header 'X-Api-Key: <api-key>'
{
  "message": "Agent deleted successfully",
  "error": {
    "details": [
      {
        "field": "email",
        "message": "Invalid email format"
      }
    ],
    "message": "An error occurred while processing your request",
    "status": 400,
    "type": "generic_error"
  },
  "status": 200
}

Authorizations

X-Api-Key
string
header
required

The API Key created in Rounded Studio.

Path Parameters

agent_id
string<uuid>
required

The ID of the agent to delete.

Response

Successfully deleted agent

message
string
default:Agent deleted successfully

Response message indicating the result of the operation.

error
ApiResponseError · object
Example:
{
"details": [
{
"field": "email",
"message": "Invalid email format"
}
],
"message": "An error occurred while processing your request",
"status": 400,
"type": "generic_error"
}
status
integer
default:200

HTTP status code of the response.