Skip to content

Update a URL variable

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

Updates a URL variable for a specified webhook.

hook_id
required
integer

The ID of the hook

key
required
string

The key of the variable

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 variable

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

OK

Bad Request

Not Found