Home / Developers / API reference / organizations
organizations
List the application's organizations
GET /v1/applications/{applicationId}/organizations
Organizations of the caller's application environment (FR-172). Application administrators only; an application with no organization gets an empty list.
- Operation ID
listApplicationOrganizations- Authentication
- bearerAuth
- Authorization operation
organization.list
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationId | path | string (uuid) | required | |
cursor | query | string | optional | Opaque pagination cursor from next_cursor. |
limit | query | integer | 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 | required | |
data[].organization_id | string (uuid) | optional | |
data[].application_id | string (uuid) | optional | |
data[].environment | string | optional | |
data[].slug | string | optional | |
data[].display_name | string | optional | |
data[].state | string | optional | |
data[].provisioning_mode | string | optional | |
data[].created_at | string (date-time) | optional | |
data[].tenant_id | 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 |
Create organization
POST /v1/organizations
- Operation ID
createOrganization- Authentication
- bearerAuth
- Authorization operation
organization.create
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
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 |
|---|---|---|---|
slug | string | required | |
display_name | string | required | |
provisioning_mode | string | optional | |
tenant_id | string | required | The tenant ID YOUR application gives this organization (required; External tenant ID (spec §4.3, ADR-042) - 1-128 characters of [A-Za-z0-9._:-], issued by the owning system, immutable.) It is the token's tenant_id claim.
|
marker | string | optional | Labels a customer's UAT workspace (FR-174). From the application owner's machine credential only. Immutable.
|
default_connections | array of string | optional | Default passwordless connections (FR-199, ADR-076). A non-empty set of magic_link and passkey; any other value, an empty array or a repeated value is 422. Each is created active with an active correlation policy (jit_mode disabled, deny_unmatched); the magic link requires passkey enrollment after the first login (FR-062). Federation connections are never created this way.
|
initial_member | object | optional | The organization's first person (FR-200, ADR-076), only with default_connections that include magic_link (else 422). An application-asserted directory record keyed by the normalized address; linked only on the first magic-link sign-in that proves exactly that address. Any other address is denied; JIT stays disabled.
|
initial_member.email | string (email) | required |
|
initial_member.display_name | 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 |
|---|---|---|---|
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 | External tenant ID (spec §4.3, ADR-042) - 1-128 characters of [A-Za-z0-9._:-], issued by the owning system, immutable. |
marker | string | optional | uat, or null (FR-174). |
default_connections | array of object | optional | The connections created by default_connections (FR-199); present only when it was sent. |
default_connections[].connection_id | string (uuid) | optional | |
default_connections[].connection_type | string | optional |
|
initial_member | object | optional | Present only when initial_member was sent (FR-200). |
initial_member.status | 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 |
| 402 | One more object would exceed a limit the entitlement document sets (FR-185). A commercial refusal; nothing changed. Existing objects keep working, and only documents set limits, never the tier baseline. | plan_limit_reached | 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 organization
GET /v1/organizations/{organizationId}
- Operation ID
getOrganization- Authentication
- bearerAuth
- Authorization operation
organization.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
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 |
|---|---|---|---|
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 | External tenant ID (spec §4.3, ADR-042) - 1-128 characters of [A-Za-z0-9._:-], issued by the owning system, immutable. |
marker | string | optional | uat, or null (FR-174). |
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 |
Give an organization without connections its default passwordless connections
POST /v1/organizations/{organizationId}/default-connections
For an existing organization of the caller's application environment that has no connection in any state, creates the default passwordless connections and the optional initial member exactly as createOrganization does (FR-199, FR-200, ADR-076). Application owner only (human or machine credential). 409 organization_has_connections when the organization has any connection. All or nothing.
- Operation ID
createDefaultConnections- Authentication
- bearerAuth
- Authorization operation
organization.create
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | 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 |
|---|---|---|---|
default_connections | array of string | required | Default passwordless connections (FR-199, ADR-076). A non-empty set of magic_link and passkey; any other value, an empty array or a repeated value is 422. Each is created active with an active correlation policy (jit_mode disabled, deny_unmatched); the magic link requires passkey enrollment after the first login (FR-062). Federation connections are never created this way.
|
initial_member | object | optional | The organization's first person (FR-200, ADR-076), only with default_connections that include magic_link (else 422). An application-asserted directory record keyed by the normalized address; linked only on the first magic-link sign-in that proves exactly that address. Any other address is denied; JIT stays disabled.
|
initial_member.email | string (email) | required |
|
initial_member.display_name | 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 |
|---|---|---|---|
organization_id | string (uuid) | optional | |
default_connections | array of object | optional | |
default_connections[].connection_id | string (uuid) | optional | |
default_connections[].connection_type | string | optional |
|
initial_member | object | optional | Present only when initial_member was sent (FR-200). |
initial_member.status | 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 |
Issue the initial member's passkey enrollment ticket
POST /v1/organizations/{organizationId}/initial-member/enrollment-tickets
FR-201, ADR-077. A one-time ticket for the organization's pending initial member (FR-200): "avet_" and 32 random bytes in base64url, valid 10 minutes, single use, shown once (only its SHA-256 hash is stored). A new ticket revokes the member's live one. The client redeems it only in a pushed authorization request (RFC 9126) carrying authvertex_enrollment and organization; the engine then shows only "Create a passkey for" the member's address, registers the passkey and signs the member in. Application owner only (human or machine credential). No Idempotency-Key semantics. 404 organization_not_found; 409 no_initial_member, initial_member_enrolled (the member already has a linked identity) or organization_not_active.
- Operation ID
createEnrollmentTicket- Authentication
- bearerAuth
- Authorization operation
organization.create
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required |
Request body
Optional.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
(body) | object | optional |
Responses
201 Created
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
ticket | string | required |
|
expires_at | string (date-time) | 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 |
| 429 | Rate limited | rate_limited | Error |
| 500 | Internal error (no detail leaked) | internal_error | Error |
Reset the initial member's credentials
POST /v1/organizations/{organizationId}/initial-member/credential-reset
FR-203, ADR-077. In one transaction unlinks every external identity of the organization's initial member (no earlier passkey or magic link signs in again), revokes the live enrollment ticket, revokes the member's sessions and refresh tokens, and queues the deletion of the member's WebAuthn credentials in the engine. The engine user and the principal are kept, so a passkey enrolled with a new ticket (createEnrollmentTicket) yields the same sub. Repeating it on a pending member is the same 200. Audited initial_member.credential_reset (caller, reason, requested_by; never the address), membership.credentials_reset emitted, and an operator notice raised for 30 days (attention code initial_member_credential_reset). At most 5 successful resets per application environment in 24 hours. Application owner only (human or machine credential). 422 reason_required; 404 organization_not_found; 409 no_initial_member or organization_not_active; 429 credential_reset_limit.
- Operation ID
resetInitialMemberCredentials- Authentication
- bearerAuth
- Authorization operation
organization.create
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required |
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
reason | string | required |
|
requested_by | string | optional | Optional operator reference of the caller (for example a support case).
|
Responses
200 OK
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
status | 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 |
Suspend organization
POST /v1/organizations/{organizationId}/suspend
- Operation ID
suspendOrganization- Authentication
- bearerAuth
- Authorization operation
organization.suspend
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | 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 |
|---|---|---|---|
reason | 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 |
|---|---|---|---|
organization_id | any | optional | |
state | any | 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 |
Unsuspend organization
POST /v1/organizations/{organizationId}/unsuspend
- Operation ID
unsuspendOrganization- Authentication
- bearerAuth
- Authorization operation
organization.suspend
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | 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 |
|---|---|---|---|
reason | 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 |
|---|---|---|---|
organization_id | any | optional | |
state | any | 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 the organization's Post-GA feature opt-ins (FR-113)
GET /v1/organizations/{organizationId}/features
social_identity and ldap_directory are disabled by default (ADR-037).
- Operation ID
listOrgFeatures- Authentication
- bearerAuth
- Authorization operation
org_feature.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
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 |
|---|---|---|---|
data | array of object | required | |
data[].feature | string | optional |
|
data[].enabled | boolean | optional | |
data[].threat_model | string | optional | |
data[].current_threat_model | string | optional | |
data[].enabled_by | string | optional | |
data[].enabled_at | string (date-time) | 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 |
Enable a Post-GA feature for the organization (FR-113)
PUT /v1/organizations/{organizationId}/features/{feature}
Owner-only, step-up, dual-controllable and audited. The request acknowledges the feature's current threat model (current_threat_model in the listing). Idempotent.
- Operation ID
enableOrgFeature- Authentication
- bearerAuth
- Authorization operation
org_feature.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
feature | 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 |
|---|---|---|---|
threat_model | string | required |
Responses
200 Enabled
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
feature | string | optional | |
enabled | boolean | optional | |
threat_model | string | 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 |
| 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 |
Disable a Post-GA feature (refused with 409 feature_in_use while in use)
DELETE /v1/organizations/{organizationId}/features/{feature}
- Operation ID
disableOrgFeature- Authentication
- bearerAuth
- Authorization operation
org_feature.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
feature | 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
No request body.
Responses
200 Disabled
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
feature | string | optional | |
enabled | boolean | optional | |
changed | boolean | 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 |
| 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 |
The passkey-after-SSO policy and how many chose it (FR-193)
GET /v1/organizations/{organizationId}/sign-in-policy
Organization owners and identity admins. The policy and the number of active members who chose the passkey for themselves; never who. For an organization of Groundnetic's own application, also Groundnetic's machine client (ADR-061).
- Operation ID
getSignInPolicy- Authentication
- bearerAuth
- Authorization operation
organization.sign_in_policy.read
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
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 |
|---|---|---|---|
organization_id | string (uuid) | optional | |
passkey_after_sso | string | optional | |
active_members | integer | optional | Active members a required policy would ask at their next sign-in (FR-193, TEN-68). |
members_opted_in | integer | 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 |
Passkey after SSO (FR-193)
PUT /v1/organizations/{organizationId}/sign-in-policy
An organization owner sets passkey_after_sso: off (the default; each member chooses for themselves) or required (everyone, no personal opt-out). The realm then asks for the AuthVertex passkey after the company sign-in; one passkey for every product that signs in through this organization. Audited. For an organization of Groundnetic's own application, Groundnetic's machine client (application_owner) may also call this (ADR-061).
- Operation ID
putSignInPolicy- Authentication
- bearerAuth
- Authorization operation
organization.sign_in_policy.write
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
organizationId | path | string (uuid) | required | |
AV-On-Behalf-Of | header | string | optional | Required when Groundnetic's machine client makes the change (ADR-061): Groundnetic's opaque reference of the person it acts for, 1-128 of A-Z a-z 0-9 . _ : - (never an email). Recorded in the audit event. Missing or malformed: 400 on_behalf_of_required.
|
Request body
Required.
application/json
| Field | Type | Required | Description |
|---|---|---|---|
passkey_after_sso | string | required |
|
Responses
200 The organization
Headers: X-Correlation-ID (Server-generated request correlation ID (req_<uuid>).)
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 |