Skip to main content

List revoked tokens

GET 

/revoked-tokens

Returns a paginated list of revoked-token records across all users, newest first. Tokens are stored hashed (SHA-256) - the raw JWT is never persisted or returned, only a masked prefix/suffix of the hash for identification.

Requirements

  • The user must be authenticated (logged-in session with X-WP-Nonce, or a JWT in the header or cookie). Otherwise WordPress answers 401 rest_forbidden.
  • The user must have the manage_options capability (administrator).

Request​

Responses​

Paginated list of revoked tokens.