oauth

Revoke an access or refresh token

Changed on

Revokes the supplied token. Returns an empty object even when the token was already invalid.

post/oauth/revoke

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/oauth/revoke
  • Auth: one of:
    • none
    • HTTP basic
    • API key in query parameter login and API key in query parameter api_key

Request body

tokenstring required

The access or refresh token to revoke

client_idstring

The application's client identifier

client_secretstring

The application's client secret

Response

The token was revoked, or was already invalid

Changes