# Update repo webhook Endpoint: PATCH /code/api/v1/repos/{repo_identifier}/webhooks/{webhook_identifier} Version: 1.0 Security: x-api-key ## Query parameters: - `accountIdentifier` (string, required) Account Identifier for the Entity. - `orgIdentifier` (string) Organization Identifier for the Entity. - `projectIdentifier` (string) Project Identifier for the Entity. ## Path parameters: - `repo_identifier` (string, required) - `webhook_identifier` (string, required) ## Request fields (application/json): - `description` (string,null) - `display_name` (string,null) - `enabled` (boolean,null) - `identifier` (string,null) - `insecure` (boolean,null) - `secret` (string,null) - `triggers` (array,null) Enum: "artifact_created", "artifact_deleted", "branch_created", "branch_deleted", "branch_updated", "pullreq_branch_updated", "pullreq_closed", "pullreq_comment_created", "pullreq_comment_status_updated", "pullreq_comment_updated", "pullreq_created", "pullreq_label_assigned", "pullreq_merged", "pullreq_reopened", "pullreq_review_submitted", "pullreq_target_branch_changed", "pullreq_updated", "tag_created", "tag_deleted", "tag_updated" - `url` (string,null) - `uid` (string,null) ## Response 200 fields (application/json): - `created` (integer) - `created_by` (integer) - `description` (string) - `display_name` (string) - `enabled` (boolean) - `has_secret` (boolean) - `id` (integer) - `identifier` (string) - `insecure` (boolean) - `latest_execution_result` (string,null) Enum: "fatal_error", "retriable_error", "success" - `parent_id` (integer) - `parent_type` (string) Enum: "registry", "repo", "space" - `scope` (integer) - `triggers` (array,null) Enum: "artifact_created", "artifact_deleted", "branch_created", "branch_deleted", "branch_updated", "pullreq_branch_updated", "pullreq_closed", "pullreq_comment_created", "pullreq_comment_status_updated", "pullreq_comment_updated", "pullreq_created", "pullreq_label_assigned", "pullreq_merged", "pullreq_reopened", "pullreq_review_submitted", "pullreq_target_branch_changed", "pullreq_updated", "tag_created", "tag_deleted", "tag_updated" - `updated` (integer) - `url` (string) - `version` (integer) ## Response 400 fields (application/json): - `message` (string) - `values` (object) ## Response 401 fields (application/json): - `message` (string) - `values` (object) ## Response 403 fields (application/json): - `message` (string) - `values` (object) ## Response 500 fields (application/json): - `message` (string) - `values` (object)