Skip to main content
POST
Approve or deny

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

team
string
required

Team slug. Lowercase letters, digits and hyphens, 1..63 characters.

tenantUserId
string
required

The tenant_user this team is bound to. default and me resolve to the caller's own subject.

id
string
required

Body

application/json
decision
enum<string>
required
Available options:
approve,
deny
because
string

Required when denying.

Response

The decision.

approval_id
string
decision
enum<string>
Available options:
approve,
deny
decided_by
object
status
string
grant
object | null
decision_id
string | null