curl --request DELETE \
--url https://apix.us.amity.co/api/v4/sessions \
--header 'Authorization: Bearer <token>'{
"success": true
}Revoke an access token. If the userId is provided, this will revoke all access tokens of that user. Only admin can revoke all access tokens of a user.
curl --request DELETE \
--url https://apix.us.amity.co/api/v4/sessions \
--header 'Authorization: Bearer <token>'{
"success": true
}Documentation Index
Fetch the complete documentation index at: https://learn.social.plus/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
User id for revocation
1 - 50A flag indicating whether the userId is a public id or not
Revoke access token success