Docs
Reference

Destroy the credential making the request

The bearer revokes itself and nothing else.

POST/api/v1/auth/revoke

The bearer revokes itself and nothing else. Call it at the end of a job so a delivered credential stops working before its expiry. It is idempotent, so an already-revoked credential still answers 200 and a retried hook never turns a green build red.

AuthorizationBearer <token>

A machine credential, sent as Authorization: Bearer pck_.... Issue one from the console, or get a short-lived one from an exchange under auth.

In: header

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/auth/revoke"
{  "revoked": true}