Skip to content
Hexel StudioDocs

Decide approval

POST/titan/admin/approvals/{id}:decide

While device-signed decisions is on, the person the approval's session acts for can't approve here (DEVICE_SIGNATURE_REQUIRED, 403): they decide with their phone on the user route. Other approvers decide as before, and the quorum counts a phone-signed vote only while that phone is active. With approver groups on for the deployment, a role's group_ids count: a person counts through a group only if they were in it when the approval was created and still are (checked with CIAM now); when CIAM can't be reached, a person eligible only through a group gets APPROVER_GROUPS_UNAVAILABLE (503, retry).

Path parameters

idstring

Headers

Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).

The enforcement deployment this call acts on (its td-... id). Required on the shared plane, where one Gateway serves many tenants and there is no default: a missing, unknown, repeated or other organization's deployment answers 403, like a failed authorization. Optional on a dedicated cell, which defaults to its one deployment.

Body parameters

decisionstring

One of: "approve", "deny"

Returns

200Successful response; exact status varies by operation.object

execution_idoptional string
statestring

One of: "pending", "approved", "denied"

Errors

  • 400Admin error
  • 402Admin error
  • 403Admin error
  • 404Admin error
  • 409Admin error
  • 413Admin error
  • 415Admin error
  • 503Admin error