API referenceSections

GET /api/v1/me/permissions

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/me/permissions

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tenant_idquerystringrequired

Responses

200 Role and permissions in the tenant

Content type: application/json

  • tenant_id string required
  • role_id string required
  • permissions array<string> required
Example
{
  "tenant_id": "string",
  "role_id": "string",
  "permissions": [
    "string"
  ]
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required