Skip to main content
PATCH
/
workflows
/
{workflow_id}
/
webhook
Update Webhook
curl --request PATCH \
  --url https://api.example.com/workflows/{workflow_id}/webhook \
  --header 'Content-Type: application/json' \
  --cookie fastapiusersauth= \
  --data '
{
  "status": "online",
  "methods": [
    "GET"
  ],
  "entrypoint_ref": "<string>",
  "allowlisted_cidrs": [
    "<string>"
  ]
}
'
{}

Authorizations

fastapiusersauth
string
cookie
required

Path Parameters

workflow_id
required

Query Parameters

workspace_id
string<uuid>
required

Body

application/json
status
enum<string> | null
Available options:
online,
offline
methods
enum<string>[] | null
Available options:
GET,
POST
entrypoint_ref
string | null
allowlisted_cidrs
string[] | null

Response

Successful Response