gitpod.v1.WebhookService
UpdateWebhook
Updates a webhook's configuration.
Use this method to:
- Change webhook name or description
- Change webhook scopes (the target repositories or organization)
Note: The webhook type and provider cannot be changed after creation.
Examples
-
Update webhook name:
Changes the webhook's display name.
webhookId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047" name: "Updated Webhook Name" -
Update webhook scopes:
Changes the webhook's target repositories.
webhookId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047" scopes: - host: "github.com" owner: "gitpod-io" name: "new-repo"
post/gitpod.v1.WebhookService/UpdateWebhook
Request body
Response
Success