Skip to main content
POST
/
v1
/
agents
/
{agentId}
/
deregister
Deregister agent
curl --request POST \
  --url https://api.ledger.so/v1/agents/{agentId}/deregister \
  --header 'Api-Key: <api-key>'
{
  "object": "agent",
  "id": "<string>",
  "status": "active",
  "externalId": "<string>",
  "previousStatus": "active",
  "deregisteredAt": 123
}

Authorizations

Api-Key
string
header
required

API key for authentication. Get your key from the Dashboard.

Path Parameters

agentId
string
required

The agent ID

Response

Agent deregistered

object
enum<string>
required
Available options:
agent
id
string
required
status
enum<string>
required
Available options:
active,
suspended,
deregistered
externalId
string
previousStatus
enum<string>
Available options:
active,
suspended,
deregistered
deregisteredAt
integer

Timestamp when agent was deregistered