This endpoint is used to unregister an agent with a given ID (uuidv4). The agent is removed from our internal database.
Request Parameters
The unique identifier for the agent to unregister (UUID format)
Response
Status of the operation (e.g., “success”)
Success message indicating the agent was unregistered successfully
The unregistered agent ID (UUID format)
Behavior
- Removes the agent from our internal database
Authentication
B2B JWT token OR Privy authentication token and 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"
}