Skip to navigation

Create or Update Webhook Rule

Create or Update Webhook Rule.

RBAC Capability Required: webhooks.config.create or webhooks.config.update

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

project_namestringRequired
rule_namestringRequired

Request

This endpoint expects an object.
specobjectRequired
Webhook rule spec.

Response

Webhook Rule was updated
metadataobject
Webhook rule metadata.
specobject
Webhook rule spec.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error