Sessions

Revoke an agent-bound worker token

Changed on

Revokes every active worker token of the agent and the task tokens they minted. Open realtime connections on them close.

delete/api/agents/{id}/token

Request

  • Base URL
    http://localhost:3013
  • URL
    http://localhost:3013/api/agents/{id}/token
  • Auth
    HTTP bearer

Path parameters

idstring required

Response

Number of worker tokens revoked (0 when none was active)

revokedinteger required

Changes