Skip to main content
DELETE
Delete an agent

Authorizations

Authorization
string
header
required

An API key from your Devic console, sent as Authorization: Bearer <key>. An embedded front end sends a tenant-session token instead, so no API key reaches the browser, and an OAuth integration sends its access token. Missing, invalid or expired credentials get a 401. See Authentication.

Path Parameters

agentId
string
required

The unique identifier of the agent to delete

Response

Agent deleted successfully

success
boolean

Success status

message
string

Success or error message

deletedId
string

Deleted agent ID