You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Description

Use this API to revoke an access token. It needs a request with a valid access_token in the form of an Authorization: Bearer <access_token>. It will return a JSON confirmation message or an error message.

Example Query

http://danteweb.lnf.infn.it:8000/auth/logout/access

PAYLOAD:

POST Query header
Authorization: Bearer <access_token>

It will return:

{
	"message": "Access token has been revoked"
}


  • No labels