Skip to main content
PATCH
Update an approval policy.

Authorizations

Authorization
string
header
required

WorkOS session access token (human dashboard sessions) on the control plane.

Headers

X-Spillway-Org
string<uuid>
Example:

"601c5d19-0b88-42f7-acda-d1d31abd100d"

Path Parameters

id
string<uuid>
required

Body

application/json
name
string
Required string length: 1 - 120
definition
object
enabled
boolean

Response

OK

Resource object.

{key}
any