JWT

Blacklist a JWT refresh token

Changed on

Adds a JWT refresh token to the blacklist, preventing it from being used to obtain new access tokens.

post/api/token/blacklist/

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/api/token/blacklist/
  • Auth
    none declared

Request body

refreshstring required

Response

Token was successfully blacklisted

Changes

    • breaking

      removed the media type application/json for the response with the status

    • info

      added the required property to the response with the status