Get current user RBAC roles and permissions
GET /api/v1/me/permissions
Returns the authenticated portal user's role and permission names for interface gating. The route requires a verified Sanctum session and accepted legal terms, and is limited to 60 requests per minute. Authorization for each protected operation remains server-side.
Authenticate with a portal session token.
Responses
200 Roles and permissions
application/json object
permissionsarray of stringrolesarray of string
Generated sample
{
"permissions": [
"string"
],
"roles": [
"string"
]
}401 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
403 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string