Overview
Principal sessions allow end-users to view and manage their grants through a dashboard. Create a session to generate a short-lived JWT and dashboard URL.Create
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
PrincipalID | string | Yes | The user to create a session for |
ExpiresIn | string | No | Session duration (default: "1h") |
Response (PrincipalSessionResponse)
| Field | Type | Description |
|---|---|---|
SessionToken | string | Short-lived JWT for API access |
DashboardURL | string | URL to the permissions dashboard |
ExpiresAt | string | ISO 8601 session expiry |