Skip to main content
POST
/
v1
/
workspaces
/
{workspace_id}
/
approvals
/
{gate_id}
:deny
Deny a pending gate
curl --request POST \
  --url https://api.usezombie.com/v1/workspaces/{workspace_id}/approvals/{gate_id}:deny \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "reason": "<string>"
}
'
{
  "gate_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "action_id": "<string>",
  "outcome": "approved",
  "resolved_at": 123,
  "resolved_by": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.usezombie.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string<uuid>
required
gate_id
string<uuid>
required

Body

application/json
reason
string

Optional free-form note attached to the resolution.

Maximum string length: 4096

Response

Resolved

gate_id
string<uuid>
required
action_id
string
required
outcome
enum<string>
required
Available options:
approved,
denied,
timed_out,
auto_killed
resolved_at
integer<int64>
required
resolved_by
string
required