okaeDocs
APIExperimental

API reference · v1

Revoke the current API session

POST
/api/v1/auth/revoke

Invalidate the bearer credential used for this request. Owners can also revoke sessions through the dashboard.

Authorization

apiSession
AuthorizationBearer <token>

Owner credential for a single workspace. Expires after seven days or on revocation.

In: header

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/auth/revoke"
Empty