Update a webhook

Updates a configured webhook in the project. Requires Manage settings admin right.

Requires write_webhooks OAuth access scope.

Path Params
string
required

A unique project identifier

string
required

A unique identifier of the webhook.

Body Params
string

Update the URL to your endpoint.

string

You can limit the usage of the webhook to a specific branch by specifying the name of the branch as a string. If you pass null or skip this attribute, the webhook will be applied to all branches.

events
array of strings

Update the list of subscribed events. Possible values are project.imported, project.exported, project.deleted, project.snapshot, project.languages.added, project.language.removed , project.language.settings_changed, project.key.added, project.key.modified, project.keys.deleted, project.key.comment.added, project.translation.updated, project.translation.proofread, project.contributor.added, project.contributor.deleted, project.task.created, project.task.closed, project.task.deleted, project.task.language.closed, project.branch.added, project.branch.deleted, project.branch.merged, team.order.created, team.order.completed, team.order.deleted.

events
event_lang_map
array of objects

Map the event with an array of languages iso codes. Omit this parameter for all languages in the project. Currently only project.translation.updated and project.translation.proofread events can be mapped with languages.

event_lang_map
Response

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json