Skip to main content
DELETE
/
api
/
agents
/
{agent_id}
Unregister Agent
curl --request DELETE \
  --url https://{organization_id}.platform.barndoor.ai/api/agents/{agent_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token obtained through Auth0 OAuth 2.0 flow with PKCE.

The token should be included in the Authorization header: Authorization: Bearer <your-jwt-token>

Use the Barndoor SDK's loginInteractive() function to obtain tokens automatically.

Path Parameters

agent_id
string<uuid>
required

Response

Successful Response