Skip to content

Revoke a connected agent

DELETE
/api/v1/agent-connections/{id}
curl --request DELETE \
--url https://api.deploybase.eu/api/v1/api/v1/agent-connections/example \
--header 'Authorization: <Authorization>'

Revokes one of the active team’s agent connections and every token of it; the agent must sign in again. Anyone may revoke an agent they connected themselves; revoking another person’s agent needs the admin or owner role. Requires a signed-in person: API keys and agent tokens are refused with HUMAN_SESSION_REQUIRED.

id
required
string

Agent connection ID (UUID)

Revoked

Unauthorized

object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

HUMAN_SESSION_REQUIRED or FORBIDDEN

object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

AGENT_CONNECTION_NOT_FOUND

object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

Internal Server Error

object
code
string
details
error
string
meta
object
request_id
string
timestamp
string
trace_id
string

Live a8b7eb1d built