DELETE
/
agent-documents
curl --request DELETE \
  --url https://app.phonely.ai/api/agent-documents \
  --header 'X-Authorization: <api-key>'
{
  "message": "<string>"
}

Authorizations

X-Authorization
string
header
required

Query Parameters

uid
string
required

User ID

agentId
string
required

Agent ID

documentId
string
required

Document ID to delete

Response

200
application/json

Document deleted successfully

The response is of type object.