Skip to content

Disable an agent the platform registered

POST
/v1/platform/agents/{client_id}/disable
curl --request POST \
--url https://api.trybage.com/v1/platform/agents/example/disable \
--header 'Content-Type: application/json' \
--data '{ "client_assertion": "eyJhbGciOiJFZERTQSIsInR5cCI6ImNsaWVudC1hc3NlcnRpb24rand0In0..." }'

Its tokens are revoked at once.

client_id
required
string
Media typeapplication/json
object
client_assertion
required

A one-time JWT signed with the agent’s private key (RFC 7523). See the description at the top.

string

Disabled.