Inspect Current Access Token
Inspect the details of the Bearer access token provided in the request header, including project, client, user, role, and permission information.
Endpoint
/api/v1/tokens/currentMethod
GET
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer access token: Bearer <access_token> |
Examples
curl --request GET \
--url https://auth.roled.id/api/v1/tokens/current \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJo...'Error Codes
| Code | HTTP Status | Description |
|---|---|---|
invalid_authorization_token | 401 | Missing or invalid authorization token |
system_error | 500 | Internal server error |