Skip to navigation

Blacklist a JWT refresh token

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

Authentication

AuthorizationToken

The token (or API key) must be passed as a request header. You can find your user token on the User Account page in Label Studio. Example:

curl https://label-studio-host/api/projects -H “Authorization: Token [your-token]”

Request

This endpoint expects an object.
refreshstringRequired>=1 character

Response

Token was successfully blacklisted

Errors

404
Not Found Error