Skip to main content
PUT
Create or update workflow policy

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

projectID
string
required

Body

application/json
forbidden_step_types
string[] | null
required
max_depth
integer<int64>
required
max_fan_out
integer<int64>
required
require_approval_for_deploy
boolean
required

Response

OK

created_at
string<date-time>
required
id
string
required
max_depth
integer<int64>
required
max_fan_out
integer<int64>
required
project_id
string
required
require_approval_for_deploy
boolean
required
updated_at
string<date-time>
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/WorkflowPolicy.json"

forbidden_step_types
string[] | null