Home / Developers / API reference / ticket-consents
ticket-consents
Ticket consent for support access (FR-167, FR-168, ADR-049).
List the organization's ticket consents
GET /v1/organizations/{organizationId}/ticket-consents
FR-167. Organization owners, identity admins and auditors, and application security admins. Portal link capabilities do not limit it.
- Operation ID
listTicketConsents- Authentication
- bearerAuth
- Authorization operation
ticket_consent.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[].consent_id | string (uuid) | required | |
data[].organization_id | string (uuid) | required | |
data[].environment | string | required |
|
data[].ticket_id | string | required | |
data[].admin_ref | string | required | |
data[].admin_action | string | required |
|
data[].recorded_by | string | required | |
data[].scope | string | required |
|
data[].granted_at | string (date-time) | required | |
data[].expires_at | string (date-time) | required | |
data[].ended_at | string (date-time) | required | |
data[].ended_by | string | required | |
data[].state | string | 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 |
| 404 | Not found (or outside the caller's scope) | not_found, correlation_policy_missing | Error |
Revoke a ticket consent
POST /v1/ticket-consents/{consentId}/revoke
FR-167. Organization owners and identity admins. No step-up, and portal link capabilities do not limit it. An ended consent answers 409 ticket_consent_ended.
- Operation ID
revokeTicketConsent- Authentication
- bearerAuth
- Authorization operation
ticket_consent.revoke
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
consentId | 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 |
|---|---|---|---|
consent_id | string (uuid) | required | |
organization_id | string (uuid) | required | |
environment | string | required |
|
ticket_id | string | required | |
admin_ref | string | required | |
admin_action | string | required |
|
recorded_by | string | required | |
scope | string | required |
|
granted_at | string (date-time) | required | |
expires_at | string (date-time) | required | |
ended_at | string (date-time) | required | |
ended_by | string | required | |
state | string | 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 |
| 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 |