Skip to main content
POST
/
agent
/
unregister
{
    "agentId": "337c2c59-ae4a-477c-9771-e66de0fdd668"
}
{
    "status": "success",
    "message": "Agent unregistered successfully",
    "agentId": "fff21854-32cb-4082-a219-48ae1a9d5313"
}
This endpoint is used to unregister an agent with a given ID (uuidv4). The agent is removed from our internal database.

Request Parameters

agentId
string
required
The unique identifier for the agent to unregister (UUID format)

Response

status
string
Status of the operation (e.g., “success”)
message
string
Success message indicating the agent was unregistered successfully
agentId
string
The unregistered agent ID (UUID format)

Behavior

  • Removes the agent from our internal database

Authentication

B2B JWT token OR Privy authentication token and headers

Headers

When using Privy authentication token, include the following header:
  • x-privy-id-token: Privy ID token
{
    "agentId": "337c2c59-ae4a-477c-9771-e66de0fdd668"
}
{
    "status": "success",
    "message": "Agent unregistered successfully",
    "agentId": "fff21854-32cb-4082-a219-48ae1a9d5313"
}