Skip to content
Sign in Create account

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

  • permissions array of string
  • roles array of string

Generated sample

{
  "permissions": [
    "string"
  ],
  "roles": [
    "string"
  ]
}
401 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

403 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

429 Error response.

application/json GenericError

  • error any

    One of

    • string
    • object

      Any keys are accepted.

  • error_code string
  • code string
  • message string
  • detail string
  • status any

    One of

    • string
    • integer
  • errors object

    Any keys are accepted.

text/html string