Get Current Principal
GET /api/v1/auth/principalAccess
Section titled “Access”Authentication options declared in the contract include user cookie session or bearer service token.
Authentication and permissions explains tokens, cookies, CSRF, and workspace context.
cURL request template
Section titled “cURL request template”Set the connection variables described in Get started. Replace each additional EOI_… variable with the parameter value for this request. This template sends the request when run.
curl --fail-with-body --silent --show-error \ --header "Authorization: Bearer ${EOI_SERVICE_TOKEN}" \ "${EOI_API_BASE_URL}/auth/principal"Contract responses
Section titled “Contract responses”The table records responses declared by the OpenAPI contract. See Errors and status codes for the runtime error envelope and shared failures.
| Status | Description | Media type | Body |
|---|---|---|---|
| 200 | Successful Response | application/json |
PrincipalResponse |
Operation identifier getCurrentPrincipal. Browse Authentication and sessions.
