Skip to content

Update a webhook (secret redacted in response)

Requires EDITOR. Same URL SSRF validation as create.

projectId
required
string

Tenant project id (row-level isolation on every query).

id
required
string

Resource id.

Media typeapplication/json
object
>= 1 properties
name
string
>= 1 characters <= 120 characters
url
string
eventTypes
Array<string>
>= 1 items
active
boolean
Examplegenerated
json
{
"name": "example",
"url": "example",
"eventTypes": [
"example"
],
"active": true
}

Updated webhook.

Media typeapplication/json
object
webhook

Project outbound webhook (secret redacted as ‘***’).

object
id
string
projectId
string
name
string
url
string
secret

Always ‘***’ on read endpoints.

string
eventTypes
Array<string>
active
boolean
createdAt
string format: date-time
updatedAt
string format: date-time

Validation error or disallowed/insecure URL.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Not authenticated (no valid session/principal).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Authenticated but lacks the required project role.

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}

Resource not found (or belongs to another project — indistinguishable).

Media typeapplication/json
object
error
required

Human-readable error message.

string
message
string
Examplegenerated
json
{
"error": "example",
"message": "example"
}