Revoke an access or refresh token
Changed onOAuth 2.0 Token Revocation Endpoint (RFC 7009).
Revokes an access token or refresh token, preventing further use. Revoking a refresh token also invalidates associated access tokens.
Use Cases:
- User logs out of third-party app
- User revokes app access from account settings
- Security incident response
Note: Returns 200 OK even if token was already revoked or invalid (per RFC 7009, to prevent token enumeration).
Request
- Base URLhttps://app.pipeshub.com/api/v1
- URLhttps://app.pipeshub.com/api/v1/oauth2/revoke
- Authnone required
Request body
Response
Token revoked, or it was unknown, already revoked or issued to another client. No body.
Changes
- breaking
the
request property's minLength was increased from0to1(media type: application/x-www-form-urlencoded) - breaking
the
request property's minLength was increased from0to1(media type: application/json) - breaking
the
request property's minLength was increased from0to1(media type: application/x-www-form-urlencoded) - breaking
the
request property's minLength was increased from0to1(media type: application/json) - warning
added the new
authorization_pendingenum value to theresponse property for the response status - warning
added the new
expired_tokenenum value to theresponse property for the response status - warning
added the new
slow_downenum value to theresponse property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- warning
added the new
invalid_targetenum value to theresponse property for the response status
- warning