Revoke an agent session

Accepts the access bearer, a refresh token in the JSON body, or both. Revocation invalidates the session and all access tokens without returning credential material.

post/auth/agent/revoke

Request

  • Base URL: https://superskill.sh/api
  • URL: https://superskill.sh/api/auth/agent/revoke
  • Auth: one of:
    • HTTP bearer
    • none

Request body

refresh_tokenstring

Response

Session revoked or already absent

revokedunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.