# UpdateWebhook Returns Webhook Details Endpoint: PUT /har/api/v1/registry/{registry_ref}/webhooks/{webhook_identifier} Version: 1.0 Security: x-api-key ## Path parameters: - `registry_ref` (string, required) Reference to the scope in which the registry exists. Format depends on the scope: - : - : - : The suffix is used internally to route scoped requests. It must be included in the URL. - `webhook_identifier` (string, required) Unique webhook identifier. ## Request fields (application/json): - `description` (string) - `enabled` (boolean, required) - `extraHeaders` (array) - `extraHeaders.key` (string, required) - `extraHeaders.value` (string, required) - `identifier` (string, required) - `insecure` (boolean, required) - `name` (string, required) - `secretIdentifier` (string) - `secretSpaceId` (integer) - `secretSpacePath` (string) - `triggers` (array) Enum: "ARTIFACT_CREATION", "ARTIFACT_DELETION" - `url` (string, required) ## Response 201 fields (application/json): - `data` (object, required) Harness Regstries Webhook - `data.createdAt` (string) - `data.createdBy` (integer) - `data.description` (string) - `data.enabled` (boolean, required) - `data.extraHeaders` (array) - `data.extraHeaders.key` (string, required) - `data.extraHeaders.value` (string, required) - `data.identifier` (string, required) - `data.insecure` (boolean, required) - `data.internal` (boolean) - `data.latestExecutionResult` (string) refers to webhook execution Enum: "SUCCESS", "RETRIABLE_ERROR", "FATAL_ERROR" - `data.modifiedAt` (string) - `data.name` (string, required) - `data.secretIdentifier` (string) - `data.secretSpaceId` (integer) - `data.secretSpacePath` (string) - `data.triggers` (array) Enum: "ARTIFACT_CREATION", "ARTIFACT_DELETION" - `data.url` (string, required) - `data.version` (integer) - `status` (string, required) Indicates if the request was successful or not Enum: "SUCCESS", "FAILURE", "ERROR" ## Response 400 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 401 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 403 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed ## Response 500 fields (application/json): - `code` (string, required) The http error code Example: "404" - `details` (object) Additional details about the error - `message` (string, required) The reason the request failed