Management
Patch webhook headers
Changed onUpsert additional headers for a webhook. Provided headers are merged with existing headers, and existing values are overwritten when names match. Returns updated headers, or 404 if the project or webhook does not exist. This endpoint requires the write:all scope.
post/management/projects/{projectId}/webhooks/{webhookId}/additional-headers
Request
- Base URL: https://api.liveblocks.io/v2
- URL: https://api.liveblocks.io/v2/management/projects/{projectId}/webhooks/{webhookId}/additional-headers
- Auth: none declared
Path parameters
projectIdstring required
ID of the project
Example:683d49ed6b4d1cec5a597b13
webhookIdstring required
ID of the webhook
Example:wh_abc123
Request body
Example request
{
"headers": {
"X-Custom-Header": "value"
}
}Response
Success. Returns the updated headers.
Example response
{
"headers": {
"X-Custom-Header": "value"
}
}Changes
- breaking
request body became required
- info
api operation id
post-management-webhook-headersremoved and replaced withupsert-management-webhook-additional-headers
- breaking
- info
endpoint added
- info