DELETE /users/refresh-tokens/{id}

Revoke a refresh token

Users

Description

Revoke (delete) a specific refresh token for the currently authenticated user.

Authentication Required: User must be authenticated.

Parameters

id integer path required
The ID of the refresh token to revoke

Responses

200 Refresh token revoked successfully
application/json
statusstring
Example: success
messagestring
Example: Refresh token revoked successfully
401 Authentication required
application/json
404 Refresh token not found
application/json
Example:
{
  "status": "error",
  "message": "Refresh token not found"
}