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>"
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Update the webhook for a workflow. We currently supprt only one webhook per workflow.
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>"
]
}
'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}wf_[0-9a-zA-Z]+Successful Response
Was this page helpful?