Citizen Hangar - OAuth2 / OpenID Connect API
  1. Revocation
Citizen Hangar - OAuth2 / OpenID Connect API
  • Authorization
    • Authorization endpoint (Authorization Code with PKCE)
      GET
  • Token
    • Token endpoint
      POST
  • Userinfo
    • UserInfo endpoint
      GET
  • Introspection
    • Token introspection (RFC 7662)
      POST
  • Revocation
    • Token revocation (RFC 7009)
      POST
  • Interaction
    • Provider interaction entrypoint
      GET
    • Confirm consent/interaction
      POST
  • Schemas
    • ErrorResponse
    • TokenResponse
    • PledgeSummary
    • HangarContents
  1. Revocation

Token revocation (RFC 7009)

POST
/revoke

Request

Authorization
OAuth 2.0
Authorization Code
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Authorize URL: https://citizenhangar.space/oauth/authorize
Token URL: https://citizenhangar.space/oauth/token
or
Body Params application/x-www-form-urlencoded

Responses

🟢200
Token revoked (200 even if token unknown)
This response does not have a body.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://citizenhangar.space/oauth/revoke' \
--data-urlencode 'token=' \
--data-urlencode 'token_type_hint='
Modified at 2025-12-29 19:35:45
Previous
Token introspection (RFC 7662)
Next
Provider interaction entrypoint
Built with