Skip to content

Update a custom header

PUT
/api/v4/projects/{id}/hooks/{hook_id}/custom_headers/{key}

Updates a custom header for a specified webhook.

hook_id
required
integer

The ID of the hook

key
required
string

The name of the custom header

id
required
One of:
string

The ID or URL-encoded path of the project

Example
1
Media type application/json
object
value
required

The value of the custom header

string
nullable
Example generated
{
"value": "example"
}

OK

Bad Request

Not Found