EndpointsCogents
Revoke cogent agent
DELETE
/v2/cogents/{cogent_id}/agents/{name}Revokes the agent's token; it stops working at once. Like minting, this takes the owner's signed-in session only, so a leaked token can neither mint nor revoke.
Authorization
BearerAuth AuthorizationBearer <token>
Bearer token issued by Softmax
In: header
Path Parameters
cogent_id*Cogent Id
Cogent ID (its player ID).
Match
^ply_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$name*Name
The agent's name.
Match
^[A-Za-z0-9][A-Za-z0-9@._:-]{0,63}$curl -X DELETE "https://softmax.com/api/observatory/v2/cogents/string/agents/string"{ "name": "string", "token_preview": "string", "created_at": "2019-08-24T14:15:22Z", "last_seen_at": "2019-08-24T14:15:22Z", "revoked_at": "2019-08-24T14:15:22Z"}