Webhooks

Change a webhook endpoint

Changes the address, name, events or whether it is enabled. Turning an endpoint back on after an automatic stop starts its failure count again. Personal access tokens receive 403.

Required token scopes are listed in x-hootlens-scopes. A signed-in person needs the matching permission on the site instead (the viewer and editor roles are presets of the permissions).

patch/v1/projects/{projectId}/webhooks/{endpointId}

Request

  • Base URL: https://hootlens-api-368877148687.us-east1.run.app
  • URL: https://hootlens-api-368877148687.us-east1.run.app/v1/projects/{projectId}/webhooks/{endpointId}
  • Auth: HTTP bearer

Path parameters

projectIdstring required

An identifier: 1 to 80 letters, digits, underscores or hyphens.

The project ID. Project IDs are public identifiers, not secrets.

endpointIdstring required

An identifier: 1 to 80 letters, digits, underscores or hyphens.

A webhook endpoint ID.

Request body

urlstring
labelstring nullable
eventsstring[]
enabledboolean

Response

The endpoint.

Changes

No recorded changes to this operation across all 1 revision of this API.