...
Use this API to revoke a refresh token. It needs a request with a valid refresh_token in the form of an Authorization: Bearer <refresh_token>. It will return a JSON confirmation message or an error message.
Example Query
Code Block | ||||
---|---|---|---|---|
| ||||
http://danteweb.lnf.infn.it:8000/auth/logout/refresh |
PAYLOAD:
Code Block | ||||
---|---|---|---|---|
| ||||
Authorization: Bearer <refresh_token> |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "message": "Refresh token has been revoked" } |
...