Update Service Hook
PUT https://sentry.io/api/0/projects/{{organization_slug}}/:project_slug/hooks/:hook_id/
https://docs.sentry.io/api/projects/update-a-service-hook/
Update a service hook.
Path Parameters
organization_slug
(string)REQUIRED
The slug of the organization the client keys belong to.
project_slug
(string)REQUIRED
The slug of the project the client keys belong to.
hook_id
(string)REQUIRED
The GUID of the service hook.
Body Parameters
url
(string)REQUIRED
The URL for the webhook.
events
(array)REQUIRED
The events to subscribe to.
Scopes
You need to authenticate via bearer auth token. requires one of the following scopes:
-
project:write
Request Body
{"url"=>"New Hook URL", "events"=>"New Events to Subscribe to"}