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/jsonstatusstring
Example:
successmessagestring
Example:
Refresh token revoked successfully
401
Authentication required
application/json
404
Refresh token not found
application/jsonExample:
{
"status": "error",
"message": "Refresh token not found"
}