Logout
If you want to revoke the currently used access- and refresh tokens, you can simply call the logout endpoint, while being authenticated with a valid access token:
curl -X POST --location 'https://{{tenant-space}}.auth.scayle.cloud/v1/auth/logout' \
--header 'X-Shop-Id: {{shopId}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {accessToken}'
See the Logout endpoint documentation for more insights.