Home / Developers / API reference / applications
applications
Get application
GET /v1/applications/{applicationId}
- Operation ID
getApplication- Authentication
- bearerAuth
- Authorization operation
application.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | string (uuid) | optional | |
name | string | optional | |
state | string | optional | |
environments | array of string | optional | |
created_at | string (date-time) | optional | |
require_dpop_production | boolean | optional | Every confidential client of the production environment must use DPoP-bound access tokens (FR-096). |
require_par_production | boolean | optional | Every confidential client of the production environment must use Pushed Authorization Requests (FR-023). |
tenant_authority | string | optional | Name of the tenant-management authority that issued tenant_id (ADR-042). |
tenant_id | string | optional | External tenant ID (spec §4.3, ADR-042) - 1-128 characters of [A-Za-z0-9._:-], issued by the owning system, immutable. |
product_usage_excluded | boolean | optional | Left out of product usage by a platform operator (FR-176). |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Resolve an organization by tenant ID (FR-158)
GET /v1/applications/{applicationId}/organizations/by-tenant/{tenantId}
Runs under the caller's own scope - organization roles resolve only their own organization; another application's, unknown or malformed tenant IDs are 404 (ADR-042).
- Operation ID
getOrganizationByTenant- Authentication
- bearerAuth
- Authorization operation
organization.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
tenantId | path | string | required |
|
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
organization_id | string (uuid) | optional | |
application_id | string (uuid) | optional | |
environment | string | optional | |
slug | string | optional | |
display_name | string | optional | |
state | string | optional | |
provisioning_mode | string | optional | |
created_at | string (date-time) | optional | |
tenant_id | string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Get application branding (FR-088)
GET /v1/applications/{applicationId}/branding
- Operation ID
getApplicationBranding- Authentication
- bearerAuth
- Authorization operation
branding.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
configured | boolean | optional | |
display_name | string | null | optional | |
logo_url | string | null (uri) | optional | |
primary_color | string | optional |
|
background_color | string | optional |
|
text_color | string | optional |
|
version | integer | optional | |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Set application branding (FR-088; contrast >= 4.5:1, step-up)
PUT /v1/applications/{applicationId}/branding
- Operation ID
putApplicationBranding- Authentication
- bearerAuth
- Authorization operation
branding.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
display_name | string | optional |
|
logo_url | string (uri) | optional | |
primary_color | string | optional | |
background_color | string | optional | |
text_color | string | optional | |
expected_version | integer | null | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
configured | boolean | optional | |
display_name | string | null | optional | |
logo_url | string | null (uri) | optional | |
primary_color | string | optional |
|
background_color | string | optional |
|
text_color | string | optional |
|
version | integer | optional | |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Get the sandbox mock IdP (FR-100; sandbox credentials only)
GET /v1/applications/{applicationId}/sandbox/mock-idp
- Operation ID
getSandboxMockIdP- Authentication
- bearerAuth
- Authorization operation
sandbox_mock_idp.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | string (uuid) | optional | |
environment | string | optional |
|
enabled | boolean | optional | |
protocols | array of string | optional | |
organization_id | string | null (uuid) | optional | |
issuer | string | null | optional | |
engine_status | string | optional | Outcome of the engine projection (pending_engine until applied; active with the mock realm issuer; failed with engine_error_code).
|
engine_error_code | string | null | optional | Stable projection error code when engine_status is failed (e.g. config_invalid, sandbox_only). |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Enable the sandbox mock IdP (FR-100; refused outside sandbox)
POST /v1/applications/{applicationId}/sandbox/mock-idp
- Operation ID
enableSandboxMockIdP- Authentication
- bearerAuth
- Authorization operation
sandbox_mock_idp.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
environment | string | required |
|
protocols | array of string | optional | |
organization_id | string (uuid) | optional |
Responses
201 Created
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | string (uuid) | optional | |
environment | string | optional |
|
enabled | boolean | optional | |
protocols | array of string | optional | |
organization_id | string | null (uuid) | optional | |
issuer | string | null | optional | |
engine_status | string | optional | Outcome of the engine projection (pending_engine until applied; active with the mock realm issuer; failed with engine_error_code).
|
engine_error_code | string | null | optional | Stable projection error code when engine_status is failed (e.g. config_invalid, sandbox_only). |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Disable the sandbox mock IdP (FR-100)
DELETE /v1/applications/{applicationId}/sandbox/mock-idp
- Operation ID
disableSandboxMockIdP- Authentication
- bearerAuth
- Authorization operation
sandbox_mock_idp.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | string (uuid) | optional | |
environment | string | optional |
|
enabled | boolean | optional | |
protocols | array of string | optional | |
organization_id | string | null (uuid) | optional | |
issuer | string | null | optional | |
engine_status | string | optional | Outcome of the engine projection (pending_engine until applied; active with the mock realm issuer; failed with engine_error_code).
|
engine_error_code | string | null | optional | Stable projection error code when engine_status is failed (e.g. config_invalid, sandbox_only). |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Rotate and reveal the sandbox mock IdP test-user credentials (FR-100, DX-01; shown once)
POST /v1/applications/{applicationId}/sandbox/mock-idp/test-user/credentials
Application owner, sandbox credentials only (403 sandbox_only in any other environment, before any data access). Every call sets a NEW random password for the mock IdP's synthetic test user in the federation engine (the previous one stops working) and returns it in this response only (sent with Cache-Control no-store). The password is never stored, logged or audited; an Idempotency-Key replay returns the recorded response with password null. The disclosure is audited (sandbox.mock_idp.credentials_reveal, recording the username and the rotation, never the secret). 409 mock_idp_not_active until the mock IdP is enabled and its engine projection is active (or while the test user is not provisioned yet); 503 engine_unavailable when the engine did not confirm the new password (nothing is recorded); 501 not_implemented without the federation-engine integration. No step-up.
- Operation ID
revealSandboxMockIdPCredentials- Authentication
- bearerAuth
- Authorization operation
sandbox_mock_idp.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Optional.
No body is read (send none or {}).
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | optional |
Responses
201 Created; the new credentials (shown once)
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.); Cache-Control (Always no-store.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
username | string | optional | |
password | string | null | optional | The new password; null on an Idempotency-Key replay (the secret is never stored). |
issuer | string | null | optional | |
protocols | array of string | optional | |
correlation_value | string | optional | The synthetic test user's correlation value (e.g. its email) asserted by the mock IdP. |
shown_once | boolean | optional |
|
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 501 | Not implemented in this deployment | not_implemented | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List clients
GET /v1/applications/{applicationId}/clients
- Operation ID
listClients- Authentication
- bearerAuth
- Authorization operation
client.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | required | |
data[].client_id | any | optional | |
data[].application_id | any | optional | |
data[].environment | any | optional | |
data[].client_type | any | optional | |
data[].redirect_uris | any | optional | |
data[].backchannel_logout_uri | any | optional | |
data[].post_logout_redirect_uris | any | optional | |
data[].permitted_organization_ids | any | optional | |
data[].token_endpoint_auth_method | any | optional | |
data[].jwks_uri | any | optional | |
data[].jwks_registered | any | optional | |
data[].tls_client_auth_subject_dn | any | optional | |
data[].dpop_bound_access_tokens | boolean | optional | |
data[].dpop_required | boolean | optional | |
data[].require_pushed_authorization_requests | boolean | optional | |
data[].par_required | boolean | optional | |
data[].spiffe_id | string | optional | |
data[].spiffe_trust_bundle_registered | boolean | optional | |
data[].state | string | optional | |
data[].auth_ready | boolean | optional | |
data[].key_ids | array of string | optional | |
data[].key_rotation | object | null | optional | |
data[].key_rotation.rotation_id | any | optional | |
data[].key_rotation.retire_after | any | optional | |
data[].key_rotation.previous_key_ids | any | optional | |
data[].key_rotation.current_key_ids | any | optional | |
data[].created_at | string (date-time) | optional | |
next_cursor | string | optional | Opaque cursor; absent on the last page. |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Create client
POST /v1/applications/{applicationId}/clients
- Operation ID
createClient- Authentication
- bearerAuth
- Authorization operation
client.create
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_type | string | optional | |
redirect_uris | array of string | optional | |
backchannel_logout_uri | string | optional | |
post_logout_redirect_uris | array of string | optional | Exact URIs the engine may return a browser to after RP-initiated logout (FR-023, ADR-065); no '*'.
|
permitted_organization_ids | array of string | optional | |
token_endpoint_auth_method | string | optional | |
jwks | any | optional | Inline public JWK Set for private_key_jwt (FR-024, FR-072). 1-20 public signing keys; RSA (2048-8192-bit odd modulus, odd exponent 3..2^31-1; alg RS256-512/PS256-512), EC (P-256/P-384/P-521, exact-length coordinates of a point on the curve; alg ES256/ES384/ES512 matching crv) or OKP Ed25519 (32-byte x; alg EdDSA/Ed25519); use sig or absent; key_ops ["verify"] or absent; kid unique, 1-256 characters; no private or symmetric member (d, p, q, dp, dq, qi, oth, k), no x5u or x5c; base64url without padding. Any invalid key rejects the set with 400 invalid_request. |
jwks_uri | string | optional | |
tls_client_auth_subject_dn | string | optional | |
dpop_bound_access_tokens | boolean | optional | Confidential clients only (FR-096); true for a public client is rejected with dpop_confidential_only. |
require_pushed_authorization_requests | boolean | optional | Confidential clients only (FR-023); true for a public client is rejected with par_confidential_only. |
Responses
201 Created
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | optional | |
application_id | string (uuid) | optional | |
environment | string | optional | |
client_type | string | optional | |
redirect_uris | array of string | optional | |
backchannel_logout_uri | string | null | optional | |
post_logout_redirect_uris | array of string | optional | Exact URIs the engine may return a browser to after RP-initiated logout (FR-023, ADR-065); no '*'.
|
permitted_organization_ids | array of string (uuid) | optional | |
token_endpoint_auth_method | string | optional | |
jwks_uri | string | null | optional | |
jwks_registered | boolean | optional | |
tls_client_auth_subject_dn | string | null | optional | |
dpop_bound_access_tokens | boolean | optional | |
require_pushed_authorization_requests | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Get client
GET /v1/applications/{applicationId}/clients/{clientId}
- Operation ID
getClient- Authentication
- bearerAuth
- Authorization operation
client.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | optional | |
application_id | string (uuid) | optional | |
environment | string | optional | |
client_type | string | optional | |
redirect_uris | array | optional | |
backchannel_logout_uri | string | null | optional | |
post_logout_redirect_uris | array of string | optional | Exact URIs the engine may return a browser to after RP-initiated logout (FR-023, ADR-065); no '*'.
|
permitted_organization_ids | array | optional | |
token_endpoint_auth_method | string | optional | |
jwks_uri | string | null | optional | |
jwks_registered | boolean | optional | |
tls_client_auth_subject_dn | string | null | optional | |
dpop_bound_access_tokens | boolean | optional | |
dpop_required | boolean | optional | Effective requirement - the client's opt-in, or the application's production requirement (FR-096). |
require_pushed_authorization_requests | boolean | optional | |
par_required | boolean | optional | Effective requirement - the client's opt-in, or the application's production requirement (FR-023). |
spiffe_id | string | optional | SPIFFE ID a workload_identity agent's client is bound to (FR-072). |
spiffe_trust_bundle_registered | boolean | optional | |
state | string | optional | |
auth_ready | boolean | optional | |
key_ids | array of string | optional | |
key_rotation | object | null | optional | |
key_rotation.rotation_id | string (uuid) | optional | |
key_rotation.retire_after | string (date-time) | optional | |
key_rotation.previous_key_ids | array | optional | |
key_rotation.current_key_ids | array | optional | |
created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Put client keys
PUT /v1/applications/{applicationId}/clients/{clientId}/keys
- Operation ID
putClientKeys- Authentication
- bearerAuth
- Authorization operation
client_key.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
token_endpoint_auth_method | string | optional | |
jwks | any | optional | Inline public JWK Set for private_key_jwt (FR-024, FR-072). 1-20 public signing keys; RSA (2048-8192-bit odd modulus, odd exponent 3..2^31-1; alg RS256-512/PS256-512), EC (P-256/P-384/P-521, exact-length coordinates of a point on the curve; alg ES256/ES384/ES512 matching crv) or OKP Ed25519 (32-byte x; alg EdDSA/Ed25519); use sig or absent; key_ops ["verify"] or absent; kid unique, 1-256 characters; no private or symmetric member (d, p, q, dp, dq, qi, oth, k), no x5u or x5c; base64url without padding. Any invalid key rejects the set with 400 invalid_request. |
jwks_uri | string | optional | |
tls_client_auth_subject_dn | string | optional | |
retire_after | string | null (date-time) | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | optional | |
application_id | string (uuid) | optional | |
environment | string | optional | |
client_type | string | optional | |
redirect_uris | array | optional | |
backchannel_logout_uri | string | null | optional | |
post_logout_redirect_uris | array of string | optional | Exact URIs the engine may return a browser to after RP-initiated logout (FR-023, ADR-065); no '*'.
|
permitted_organization_ids | array | optional | |
token_endpoint_auth_method | string | optional | |
jwks_uri | string | null | optional | |
jwks_registered | boolean | optional | |
tls_client_auth_subject_dn | string | null | optional | |
dpop_bound_access_tokens | boolean | optional | |
dpop_required | boolean | optional | Effective requirement - the client's opt-in, or the application's production requirement (FR-096). |
require_pushed_authorization_requests | boolean | optional | |
par_required | boolean | optional | Effective requirement - the client's opt-in, or the application's production requirement (FR-023). |
spiffe_id | string | optional | SPIFFE ID a workload_identity agent's client is bound to (FR-072). |
spiffe_trust_bundle_registered | boolean | optional | |
state | string | optional | |
auth_ready | boolean | optional | |
key_ids | array of string | optional | |
key_rotation | object | null | optional | |
key_rotation.rotation_id | string (uuid) | optional | |
key_rotation.retire_after | string (date-time) | optional | |
key_rotation.previous_key_ids | array | optional | |
key_rotation.current_key_ids | array | optional | |
created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List organizations a client may serve (OIDC-04)
GET /v1/applications/{applicationId}/clients/{clientId}/organizations
- Operation ID
listClientOrganizations- Authentication
- bearerAuth
- Authorization operation
client.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
limit | query | integer | optional | |
cursor | query | string | optional |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | optional | |
data[].organization_id | string (uuid) | optional | |
data[].tenant_id | string | optional | |
data[].slug | string | optional | |
data[].state | string | optional | |
next_cursor | string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Add an organization to a client (OIDC-04)
PUT /v1/applications/{applicationId}/clients/{clientId}/organizations/{organizationId}
Adds an organization the OIDC client may serve (spec section 7.6, OIDC-04). Idempotent, sensitive (step-up) and dual-controllable (FR-043); audited.
- Operation ID
addClientOrganization- Authentication
- bearerAuth
- Authorization operation
client_organization.add
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
organizationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | optional | |
organization | object | optional | |
organization.organization_id | string (uuid) | optional | |
organization.tenant_id | string | optional | |
organization.slug | string | optional | |
organization.state | string | optional | |
permitted | boolean | optional | |
changed | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Remove an organization from a client (OIDC-04)
DELETE /v1/applications/{applicationId}/clients/{clientId}/organizations/{organizationId}
Removes an organization from the OIDC client (spec section 7.6, OIDC-04). Idempotent and audited; takes effect at the next grant.
- Operation ID
removeClientOrganization- Authentication
- bearerAuth
- Authorization operation
client_organization.remove
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
organizationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | optional | |
organization | object | optional | |
organization.organization_id | string (uuid) | optional | |
organization.tenant_id | string | optional | |
organization.slug | string | optional | |
organization.state | string | optional | |
permitted | boolean | optional | |
changed | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Add an organization to a client by tenant ID (OIDC-04)
PUT /v1/applications/{applicationId}/clients/{clientId}/organizations/by-tenant/{tenantId}
Adds an organization the OIDC client may serve (spec section 7.6, OIDC-04). Idempotent, sensitive (step-up) and dual-controllable (FR-043); audited.
- Operation ID
addClientOrganizationByTenant- Authentication
- bearerAuth
- Authorization operation
client_organization.add
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
tenantId | path | string | required |
|
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | optional | |
organization | object | optional | |
organization.organization_id | string (uuid) | optional | |
organization.tenant_id | string | optional | |
organization.slug | string | optional | |
organization.state | string | optional | |
permitted | boolean | optional | |
changed | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Remove an organization from a client by tenant ID (OIDC-04)
DELETE /v1/applications/{applicationId}/clients/{clientId}/organizations/by-tenant/{tenantId}
Removes an organization from the OIDC client (spec section 7.6, OIDC-04). Idempotent and audited; takes effect at the next grant.
- Operation ID
removeClientOrganizationByTenant- Authentication
- bearerAuth
- Authorization operation
client_organization.remove
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
tenantId | path | string | required |
|
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | optional | |
organization | object | optional | |
organization.organization_id | string (uuid) | optional | |
organization.tenant_id | string | optional | |
organization.slug | string | optional | |
organization.state | string | optional | |
permitted | boolean | optional | |
changed | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Set client DPoP binding (FR-096)
PUT /v1/applications/{applicationId}/clients/{clientId}/dpop
Turns DPoP-bound access tokens on or off for a confidential client. Sensitive (fresh step-up for engine-authenticated administrators); turning protection off requires step-up for every caller. Audited with the previous and new value; the engine client is re-projected.
- Operation ID
putClientDPoP- Authentication
- bearerAuth
- Authorization operation
client_dpop.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
dpop_bound_access_tokens | boolean | required |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
client_id | string | optional | |
application_id | string (uuid) | optional | |
environment | string | optional | |
client_type | string | optional | |
redirect_uris | array | optional | |
backchannel_logout_uri | string | null | optional | |
post_logout_redirect_uris | array of string | optional | Exact URIs the engine may return a browser to after RP-initiated logout (FR-023, ADR-065); no '*'.
|
permitted_organization_ids | array | optional | |
token_endpoint_auth_method | string | optional | |
jwks_uri | string | null | optional | |
jwks_registered | boolean | optional | |
tls_client_auth_subject_dn | string | null | optional | |
dpop_bound_access_tokens | boolean | optional | |
dpop_required | boolean | optional | Effective requirement - the client's opt-in, or the application's production requirement (FR-096). |
require_pushed_authorization_requests | boolean | optional | |
par_required | boolean | optional | Effective requirement - the client's opt-in, or the application's production requirement (FR-023). |
spiffe_id | string | optional | SPIFFE ID a workload_identity agent's client is bound to (FR-072). |
spiffe_trust_bundle_registered | boolean | optional | |
state | string | optional | |
auth_ready | boolean | optional | |
key_ids | array of string | optional | |
key_rotation | object | null | optional | |
key_rotation.rotation_id | string (uuid) | optional | |
key_rotation.retire_after | string (date-time) | optional | |
key_rotation.previous_key_ids | array | optional | |
key_rotation.current_key_ids | array | optional | |
created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Get dual control for application
GET /v1/applications/{applicationId}/dual-control
- Operation ID
getDualControlForApplication- Authentication
- bearerAuth
- Authorization operation
dual_control.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
scope | string | optional | |
organization_id | string | null (uuid) | optional | |
operations | array of string | optional | |
inherited_operations | array of string | optional | |
version | integer | optional | |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional | |
controllable_operations | array of string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Put dual control for application
PUT /v1/applications/{applicationId}/dual-control
- Operation ID
putDualControlForApplication- Authentication
- bearerAuth
- Authorization operation
dual_control.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
operations | array of string | optional | |
expected_version | integer | null | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
scope | string | optional | |
organization_id | string | null (uuid) | optional | |
operations | array of string | optional | |
inherited_operations | array of string | optional | |
version | integer | optional | |
updated_by | string | null | optional | |
updated_at | string | null (date-time) | optional | |
controllable_operations | array of string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Get the application's production DPoP requirement (FR-096)
GET /v1/applications/{applicationId}/dpop-policy
- Operation ID
getDPoPPolicy- Authentication
- bearerAuth
- Authorization operation
client.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | string (uuid) | optional | |
require_dpop_production | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Set the application's production DPoP requirement (FR-096)
PUT /v1/applications/{applicationId}/dpop-policy
Requires DPoP for every confidential client of the production environment. Set by administrators of the production environment only (dpop_production_environment_only otherwise). Sensitive (fresh step-up); turning it off requires step-up for every caller. Audited with the previous and new value; production clients are re-projected.
- Operation ID
putDPoPPolicy- Authentication
- bearerAuth
- Authorization operation
dpop_policy.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
require_dpop_production | boolean | required |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | string (uuid) | optional | |
require_dpop_production | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Set client Pushed Authorization Request requirement (FR-023)
PUT /v1/applications/{applicationId}/clients/{clientId}/par
Requires (or stops requiring) Pushed Authorization Requests (RFC 9126) for a confidential client. Sensitive (fresh step-up for engine-authenticated administrators) and dual-controllable; turning the requirement off requires step-up for every caller. Audited with the previous and new value; the engine client is re-projected.
- Operation ID
putClientPAR- Authentication
- bearerAuth
- Authorization operation
client_par.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
require_pushed_authorization_requests | boolean | required |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Replace the client's post-logout redirect URIs (FR-023, ADR-065)
PUT /v1/applications/{applicationId}/clients/{clientId}/post-logout-redirect-uris
Replaces the exact URIs the engine's end-session endpoint may return a browser to after RP-initiated logout (post_logout_redirect_uri); [] clears them and the engine shows its own signed-out page. Redirect-URI rules apply (absolute https, plain-http loopback in the sandbox only, no fragment, user info or '*'), at most 20. Sensitive (fresh step-up for engine-authenticated administrators), dual-controllable, audited with the previous and new list; the engine client is re-projected.
- Operation ID
putClientPostLogoutRedirectURIs- Authentication
- bearerAuth
- Authorization operation
client_post_logout.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
post_logout_redirect_uris | array of string | required |
|
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Replace the client's redirect URIs (FR-023, ADR-073)
PUT /v1/applications/{applicationId}/clients/{clientId}/redirect-uris
Replaces the exact redirect URIs of a registered client, so an application can move hosts without a new client_id (add the new host, deploy, then remove the old one). Redirect-URI rules apply (absolute https, plain-http loopback in the sandbox only, no fragment, user info or '*'), 1-20. Sensitive (fresh step-up for engine-authenticated administrators), dual-controllable, audited with the previous and new list; the engine client is re-projected. A removed URI is refused for new authorization requests.
- Operation ID
putClientRedirectURIs- Authentication
- bearerAuth
- Authorization operation
client_redirect_uris.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
redirect_uris | array of string | required |
|
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Set or clear the client's back-channel logout URI (FR-023, ADR-073)
PUT /v1/applications/{applicationId}/clients/{clientId}/backchannel-logout-uri
Sets the URI the engine posts back-channel logout tokens to, under the outbound request policy (422 invalid_url if refused), or clears it with null. Sensitive, dual-controllable, audited with the previous and new value; the engine client is re-projected.
- Operation ID
putClientBackchannelLogoutURI- Authentication
- bearerAuth
- Authorization operation
client_backchannel_logout.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
clientId | path | string | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
backchannel_logout_uri | string | null | required |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Get the application's production PAR requirement (FR-023)
GET /v1/applications/{applicationId}/par-policy
- Operation ID
getPARPolicy- Authentication
- bearerAuth
- Authorization operation
client.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | string (uuid) | optional | |
require_par_production | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Set the application's production PAR requirement (FR-023)
PUT /v1/applications/{applicationId}/par-policy
Requires Pushed Authorization Requests for every confidential client of the production environment. Production administrators only (par_production_environment_only otherwise). Sensitive and dual-controllable; turning it off requires step-up for every caller. Audited; the affected engine clients are re-projected.
- Operation ID
putPARPolicy- Authentication
- bearerAuth
- Authorization operation
par_policy.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
require_par_production | boolean | required |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
application_id | string (uuid) | optional | |
require_par_production | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List named administrators
GET /v1/applications/{applicationId}/administrators
FR-163. Tenant management and platform operators (any environment), and the application's own administrators (their environment; TEN-73).
- Operation ID
listAdministrators- Authentication
- bearerAuth
- Authorization operation
administrator.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
environment | query | string | optional | Tenant management and operators only (ADR-062). production (default) or sandbox.
|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | required | |
data[].administrator_id | string (uuid) | required | |
data[].subject | string | null | required | The admin-realm account; null for a company-SSO-only administrator (ADR-062). |
data[].backup_passkey | boolean | optional | |
data[].last_sign_in_at | string | null (date-time) | optional | |
data[].last_sign_in_method | string | null | optional |
|
data[].reviewed_at | string | null (date-time) | optional | |
data[].review_result | string | null | optional |
|
data[].role | string | required | |
data[].state | string | required |
|
data[].created_at | string (date-time) | required | |
data[].removed_at | string (date-time) | optional | |
owner_backup_passkey | boolean | optional | Whether at least one owner of this environment has a backup passkey (TEN-68). |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
Review a named administrator (access review, FR-163)
POST /v1/applications/{applicationId}/administrators/{administratorId}/review
TEN-73. An application owner records whether the administrator is still needed: review_result keep or remove_requested, audited with the optional note. A review removes nobody.
- Operation ID
reviewAdministrator- Authentication
- bearerAuth
- Authorization operation
administrator.review
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
administratorId | path | string (uuid) | required |
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
still_needed | boolean | required | |
note | string | optional |
|
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
administrator_id | string (uuid) | required | |
subject | string | null | required | The admin-realm account; null for a company-SSO-only administrator (ADR-062). |
backup_passkey | boolean | optional | |
last_sign_in_at | string | null (date-time) | optional | |
last_sign_in_method | string | null | optional |
|
reviewed_at | string | null (date-time) | optional | |
review_result | string | null | optional |
|
role | string | required | |
state | string | required |
|
created_at | string (date-time) | required | |
removed_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
Get ownership
GET /v1/applications/{applicationId}/ownership
- Operation ID
getOwnership- Authentication
- bearerAuth
- Authorization operation
ownership.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
owner | object | null | optional | |
owner.owner_id | string (uuid) | optional | |
owner.contact_email | string | optional | |
owner.contact_name | string | optional | |
owner.verified_domain | string | optional | |
owner.invitation_id | string (uuid) | optional | |
owner.state | string | optional | |
owner.granted_at | string (date-time) | optional | |
owner.ended_at | string | null (date-time) | optional | |
previous_owners | array of object | optional | |
previous_owners[].owner_id | string (uuid) | optional | |
previous_owners[].contact_email | string | optional | |
previous_owners[].contact_name | string | optional | |
previous_owners[].verified_domain | string | optional | |
previous_owners[].invitation_id | string (uuid) | optional | |
previous_owners[].state | string | optional | |
previous_owners[].granted_at | string (date-time) | optional | |
previous_owners[].ended_at | string | null (date-time) | optional | |
invitations | array of object | optional | |
invitations[].invitation_id | string (uuid) | optional | |
invitations[].kind | string | optional | |
invitations[].transfer_id | string | null (uuid) | optional | |
invitations[].contact_name | string | optional | |
invitations[].application_domain | string | optional | |
invitations[].state | string | optional | |
invitations[].expires_at | string (date-time) | optional | |
invitations[].created_by | string | optional | |
invitations[].created_at | string (date-time) | optional | |
invitations[].verification | any | optional | |
transfers | array of object | optional | |
transfers[].transfer_id | string (uuid) | optional | |
transfers[].contact_name | string | optional | |
transfers[].application_domain | string | optional | |
transfers[].state | string | optional | |
transfers[].requested_by | string | optional | |
transfers[].decided_by | string | null | optional | |
transfers[].decided_at | string | null (date-time) | optional | |
transfers[].expires_at | string (date-time) | optional | |
transfers[].created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Request ownership transfer
POST /v1/applications/{applicationId}/ownership-transfers
- Operation ID
requestOwnershipTransfer- Authentication
- bearerAuth
- Authorization operation
ownership_transfer.request
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
contact_email | string | optional | |
contact_name | string | optional | |
application_domain | string | optional |
Responses
201 Created
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
transfer | object | optional | |
transfer.transfer_id | string (uuid) | optional | |
transfer.contact_name | string | optional | |
transfer.application_domain | string | optional | |
transfer.state | string | optional | |
transfer.requested_by | string | optional | |
transfer.decided_by | string | null | optional | |
transfer.decided_at | string | null (date-time) | optional | |
transfer.expires_at | string (date-time) | optional | |
transfer.created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Approve ownership transfer
POST /v1/applications/{applicationId}/ownership-transfers/{transferId}/approve
- Operation ID
approveOwnershipTransfer- Authentication
- bearerAuth
- Authorization operation
ownership_transfer.decide
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
transferId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Optional.
No body is read (send none or {}).
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Reject ownership transfer
POST /v1/applications/{applicationId}/ownership-transfers/{transferId}/reject
- Operation ID
rejectOwnershipTransfer- Authentication
- bearerAuth
- Authorization operation
ownership_transfer.decide
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
transferId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Optional.
No body is read (send none or {}).
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Revoke application ownership
POST /v1/applications/{applicationId}/ownership/revoke
FR-001 (spec §12.4): ends the application's verified owner record. An application has at most one verified owner, so revocation always leaves it without one: only an application security admin with fresh passkey authentication (step-up; machine clients never) may revoke, with a reason. The owner itself cannot revoke (use an ownership transfer). Open transfers close (pending ones are rejected by the revoker, approved ones expire with their invitations); the application can then be onboarded again with a signed invitation and DNS proof. Audited as ownership.revoked; dual-controllable (FR-043). The owner's admin-realm accounts lose their application_owner binding for this application environment and their admin sessions end: that engine step is committed with the revocation as an outbox row and performed by the worker with retries (audited as ownership.admin_deprovision), so the response reports admin_deprovisioning: pending.
- Operation ID
revokeApplicationOwnership- Authentication
- bearerAuth
- Authorization operation
ownership.revoke
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
owner_id | string (uuid) | required | The active owner record (from GET …/ownership). |
reason | string | required |
|
Responses
200 OK — the revoked owner record and the transfers it closed.
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
owner | object | optional | |
closed_transfer_ids | array of string (uuid) | optional | |
admin_deprovisioning | string | optional | The admin-realm deprovisioning of the owner's accounts is queued (worker step).
|
202 Held for a second administrator's approval (dual control, FR-043).
No body.
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Bind an admin account to the application owner
POST /v1/applications/{applicationId}/ownership/subjects
FR-001, ADR-010 "Owner binding by engine subject": records an admin-realm account (its immutable engine user ID) on the active owner record. An engine-issued application_owner human token is accepted only when its sub is recorded on the active owner record (legacy records without recorded subjects excepted), and an ended owner's accounts are deprovisioned by these subjects, never by email. Only an application security admin with fresh passkey authentication (step-up; machine clients never); idempotent; audited as ownership.subject.bound; dual-controllable (FR-043). Refused (409) while an ended owner's deprovisioning is unfinished and has selected (or not yet resolved) that account, and for an owner record that is no longer active.
- Operation ID
bindApplicationOwnerSubject- Authentication
- bearerAuth
- Authorization operation
ownership.subject_bind
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
owner_id | string (uuid) | required | The active owner record (from GET …/ownership). |
subject | string | required | The admin-realm account's user ID (engine sub).
|
Responses
200 OK — the owner record with its bound accounts.
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
owner | object | optional |
202 Held for a second administrator's approval (dual control, FR-043).
No body.
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List the SAML service providers of the caller's application environment (FR-111)
GET /v1/applications/{applicationId}/saml-clients
- Operation ID
listSAMLClients- Authentication
- bearerAuth
- Authorization operation
client.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | optional | |
data[].entity_id | string | optional | |
data[].application_id | string (uuid) | optional | |
data[].environment | string | optional | |
data[].state | string | optional |
|
data[].acs_url | string | optional | |
data[].single_logout_url | string | null | optional | |
data[].signing_certificate_sha256 | string | optional | |
data[].permitted_organization_ids | array of string (uuid) | optional | |
data[].nameid_format | string | optional | |
data[].attributes | array of string | optional | |
data[].created_at | string (date-time) | optional | |
next_cursor | string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Register a SAML 2.0 service provider for the engine's SAML IdP role (FR-111)
POST /v1/applications/{applicationId}/saml-clients
Registers a SAML SP in the caller's application environment (sandbox and production are separate). The entity ID is the engine client id and the only assertion audience; exactly one Assertion Consumer Service URL (https; http:/
- Operation ID
createSAMLClient- Authentication
- bearerAuth
- Authorization operation
saml_client.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | optional |
|
acs_url | string | optional |
|
single_logout_url | string | optional | |
signing_certificate | string | optional | |
metadata_xml | string | optional | The SP's SAML metadata (one EntityDescriptor with an SPSSODescriptor). Parsed without DTDs or entities; the default HTTP-POST AssertionConsumerService, the first HTTP-POST SingleLogoutService and the first signing certificate are used. Errors 422 doctype_forbidden, malformed_metadata.
|
permitted_organization_ids | array of string (uuid) | optional |
Responses
201 Created
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | optional | |
application_id | string (uuid) | optional | |
environment | string | optional | |
state | string | optional |
|
acs_url | string | optional | |
single_logout_url | string | null | optional | |
signing_certificate_sha256 | string | optional | |
permitted_organization_ids | array of string (uuid) | optional | |
nameid_format | string | optional | |
attributes | array of string | optional | |
created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Disable a SAML service provider (FR-111)
POST /v1/applications/{applicationId}/saml-clients/disable
Disables the SP (the engine client is disabled on the next projection; no further assertion is issued). Sensitive (step-up), dual-controllable, audited (saml_client.disable).
- Operation ID
disableSAMLClient- Authentication
- bearerAuth
- Authorization operation
saml_client.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | required |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | optional | |
state | string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Update a SAML service provider (FR-111)
POST /v1/applications/{applicationId}/saml-clients/update
Replaces the SP's ACS URL, SLO endpoint and signing certificate (an absent single_logout_url or signing_certificate removes it), optionally its permitted organizations (absent = unchanged) and its state. The entity ID never changes. metadata_xml may supply the values; its entityID must equal entity_id (422 entity_id_mismatch). Same validation as registration. Sensitive (step-up), dual-controllable, audited (saml_client.update); projected to the engine.
- Operation ID
updateSAMLClient- Authentication
- bearerAuth
- Authorization operation
saml_client.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | required |
|
acs_url | string | optional |
|
single_logout_url | string | optional | |
signing_certificate | string | optional | |
metadata_xml | string | optional |
|
permitted_organization_ids | array of string (uuid) | optional | |
state | string | optional |
|
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | optional | |
application_id | string (uuid) | optional | |
environment | string | optional | |
state | string | optional |
|
acs_url | string | optional | |
single_logout_url | string | null | optional | |
signing_certificate_sha256 | string | optional | |
permitted_organization_ids | array of string (uuid) | optional | |
nameid_format | string | optional | |
attributes | array of string | optional | |
created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Delete a SAML service provider (FR-111)
POST /v1/applications/{applicationId}/saml-clients/delete
Removes the SP registration (its organization permissions and metadata included); the engine client is deleted by the projection, so no further assertion or logout request reaches the SP. Only SAML SPs can be deleted here (404 otherwise). Sensitive (step-up), dual-controllable, audited (saml_client.delete).
- Operation ID
deleteSAMLClient- Authentication
- bearerAuth
- Authorization operation
saml_client.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | required |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | optional | |
deleted | boolean | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Preview SAML SP metadata for a registration (FR-111)
POST /v1/applications/{applicationId}/saml-clients/metadata
Parses SP metadata given inline (metadata_xml) or fetched from an https metadata_url through the outbound request policy (spec §12.6; no redirects, bounded size, private and metadata-service addresses refused) and returns the values a registration would use, the parts of the document the IdP-role profile ignores (notes) and the values registration would refuse (problems). Nothing is stored; send the returned metadata_xml (or the values) to the registration. Application owner only; not a sensitive write. Errors 422 doctype_forbidden, malformed_metadata, invalid_url, metadata_fetch_failed.
- Operation ID
parseSAMLClientMetadata- Authentication
- bearerAuth
- Authorization operation
saml_client.metadata_parse
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
metadata_xml | string | optional |
|
metadata_url | string | optional |
|
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
entity_id | string | optional | |
acs_url | string | optional | |
single_logout_url | string | null | optional | |
signing_certificate | string | null | optional | |
signing_certificate_sha256 | string | optional | |
authn_requests_signed | boolean | optional | |
notes | array of string | optional | |
problems | array of object | optional | |
problems[].field | string | optional | |
problems[].code | string | optional | |
metadata_xml | string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
The engine's SAML IdP for the caller's application environment (FR-111)
GET /v1/applications/{applicationId}/saml-idp
What a service provider needs to trust the IdP of this application environment (sandbox and production are separate IdPs) — entity ID, SSO and SLO endpoint, the engine's public metadata URL (with its signing certificates) and the fixed assertion profile. 503 engine_unavailable when the engine's public URL is not configured.
- Operation ID
getSAMLIdP- Authentication
- bearerAuth
- Authorization operation
client.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
environment | string | optional | |
entity_id | string | optional | |
sso_url | string | optional | |
single_logout_url | string | optional | |
metadata_url | string | optional | |
bindings | array of string | optional | |
nameid_format | string | optional | |
signature_algorithm | string | optional | |
signed_response | boolean | optional | |
signed_assertion | boolean | optional | |
attributes | array of string | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List pending changes for application
GET /v1/applications/{applicationId}/pending-changes
- Operation ID
listPendingChangesForApplication- Authentication
- bearerAuth
- Authorization operation
pending_change.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | required | |
data[].change_id | string (uuid) | optional | |
data[].organization_id | string | null (uuid) | optional | |
data[].operation | string | optional | |
data[].control_key | string | optional | |
data[].method | string | optional | |
data[].path | string | optional | |
data[].request | any | optional | |
data[].requested_by | string | optional | |
data[].requested_role | string | optional | |
data[].state | string | optional | |
data[].decided_by | string | null | optional | |
data[].decided_at | string | null (date-time) | optional | |
data[].result_status | integer | null | optional | |
data[].expires_at | string (date-time) | optional | |
data[].created_at | string (date-time) | optional | |
next_cursor | string | optional | Opaque cursor; absent on the last page. |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
List promotions
GET /v1/applications/{applicationId}/promotions
- Operation ID
listPromotions- Authentication
- bearerAuth
- Authorization operation
promotion.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | array of object | required | |
data[].promotion_id | string (uuid) | optional | |
data[].source_organization_id | string (uuid) | optional | |
data[].source_environment | string | optional | |
data[].target_organization_id | string (uuid) | optional | |
data[].target_environment | string | optional | |
data[].diff | any | optional | |
data[].state | string | optional | |
data[].requested_by | string | optional | |
data[].decided_by | string | null | optional | |
data[].decided_at | string | null (date-time) | optional | |
data[].expires_at | string (date-time) | optional | |
data[].created_at | string (date-time) | optional | |
next_cursor | string | optional | Opaque cursor; absent on the last page. |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Request promotion
POST /v1/applications/{applicationId}/promotions
- Operation ID
requestPromotion- Authentication
- bearerAuth
- Authorization operation
promotion.request
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
source_organization_id | string | optional | |
target_organization_id | string | optional | |
dry_run | boolean | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
diff | object | optional | |
diff.items | array | optional | |
diff.summary | object | optional | |
diff.summary.* | integer | optional | Any key; each value has this type. |
201 Created
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
diff | object | optional | |
diff.items | array | optional | |
diff.summary | object | optional | |
diff.summary.* | integer | optional | Any key; each value has this type. |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Get promotion
GET /v1/applications/{applicationId}/promotions/{promotionId}
- Operation ID
getPromotion- Authentication
- bearerAuth
- Authorization operation
promotion.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
promotionId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
promotion_id | string (uuid) | optional | |
source_organization_id | string (uuid) | optional | |
source_environment | string | optional | |
target_organization_id | string (uuid) | optional | |
target_environment | string | optional | |
diff | any | optional | |
state | string | optional | |
requested_by | string | optional | |
decided_by | string | null | optional | |
decided_at | string | null (date-time) | optional | |
expires_at | string (date-time) | optional | |
created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Approve promotion
POST /v1/applications/{applicationId}/promotions/{promotionId}/approve
- Operation ID
approvePromotion- Authentication
- bearerAuth
- Authorization operation
promotion.decide
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
promotionId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Optional.
No body is read (send none or {}).
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
promotion_id | string (uuid) | optional | |
source_organization_id | string (uuid) | optional | |
source_environment | string | optional | |
target_organization_id | string (uuid) | optional | |
target_environment | string | optional | |
diff | any | optional | |
state | string | optional | |
requested_by | string | optional | |
decided_by | string | null | optional | |
decided_at | string | null (date-time) | optional | |
expires_at | string (date-time) | optional | |
created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
Reject promotion
POST /v1/applications/{applicationId}/promotions/{promotionId}/reject
- Operation ID
rejectPromotion- Authentication
- bearerAuth
- Authorization operation
promotion.decide
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
promotionId | path | string (uuid) | required | |
Idempotency-Key | header | string | optional | Replays of the same key and request return the stored response (Idempotent-Replayed: true); the same key with a different request → 422 idempotency_key_reused.
|
Request body
Optional.
No body is read (send none or {}).
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | optional |
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).); Idempotent-Replayed (true when the response is a stored idempotent replay.)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
promotion_id | string (uuid) | optional | |
source_organization_id | string (uuid) | optional | |
source_environment | string | optional | |
target_organization_id | string (uuid) | optional | |
target_environment | string | optional | |
diff | any | optional | |
state | string | optional | |
requested_by | string | optional | |
decided_by | string | null | optional | |
decided_at | string | null (date-time) | optional | |
expires_at | string (date-time) | optional | |
created_at | string (date-time) | optional |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 400 | Malformed request | invalid_request, invalid_url, secret_ref_not_bound | Error |
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
| 409 | Conflict with current state | conflict, invalid_state_transition, stale_config_version, connection_not_validated, correlation_policy_missing, ambiguous_acknowledgment_required, too_many_credentials, trusted_certificate_limit, domain_conflict, policy_version_conflict, invalid_configuration, agents_disabled, inactive_principal_or_grant, elevation_expired, recovery_expired, impersonation_consent_expired, impersonation_consent_revoked, ticket_consent_ended, change_already_decided, change_expired, owner_exists, no_verified_owner, promotion_stale | Error |
| 413 | Request body too large | payload_too_large | Error |
| 422 | Semantically invalid request | invalid_request, invalid_url, dpop_confidential_only, invalid_configuration, idempotency_key_reused, certificate_rejected, protocol_mismatch, jwks_unusable, agent_policy_invalid, assurance_policy_invalid, passwordless_policy_invalid, attenuation_violation, unverified_source, domain_not_verified, invitation_invalid, overlap_unsupported, registration_denied | Error |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
| 503 | Dependency unavailable (fail closed) | engine_unavailable, egress_unavailable, temporarily_unavailable | Error |
The tenant's staff-access switch and its pending or live staff session (FR-208, ADR-080)
GET /v1/applications/{applicationId}/staff-access
- Operation ID
getStaffAccess- Authentication
- bearerAuth
- Authorization operation
staff_access.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
Allow or stop staff acting as this tenant (FR-208, ADR-080)
PUT /v1/applications/{applicationId}/staff-access
Turning it on needs a named owner or security administrator with a fresh passkey step-up. Turning it off is never blocked and ends the staff session.
- Operation ID
putStaffAccess- Authentication
- bearerAuth
- Authorization operation
staff_access.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
allowed | boolean | required |
Responses
200 OK
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |
End the tenant's staff session now (FR-211, ADR-080)
DELETE /v1/applications/{applicationId}/staff-access/session
- Operation ID
endStaffSessionByTenant- Authentication
- bearerAuth
- Authorization operation
staff_session.end_by_tenant
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required |
Request body
No request body.
Responses
200 OK
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | required |
Error responses
| Status | Description | Error codes | Body |
|---|---|---|---|
| 401 | Unauthenticated, step-up required (RFC 9470 challenge in WWW-Authenticate) or invalid portal link | unauthenticated, insufficient_user_authentication, portal_link_invalid | Error |
| 403 | Operation not permitted for this caller | forbidden, step_up_required, passkey_enrollment_required, passkey_identity_mismatch, dpop_production_environment_only, client_identity_required, workforce_identity_required, break_glass_not_permitted, elevation_invalid, elevation_expired, elevation_self_approval, impersonation_forbidden, impersonation_not_consented, impersonation_self_consent, explicit_consent_required, ticket_consent_invalid, ticket_consent_expired, ticket_consent_ended, ticket_consent_forbidden, recovery_self_approval, recovery_method_not_allowed, recovery_channel_not_allowed, approver_not_permitted, approver_is_requester, self_approval_forbidden | Error |