---
title: "Patch a Webhook by ID"
method: PATCH
path: "/network-services/v1/webhooks/{id}"
tags: ["Webhooks"]
---

# Patch a Webhook by ID

`PATCH /network-services/v1/webhooks/{id}`

This API endpoint modifies an existing Webhook. One or multiple parameters in the body can be used to update the Webhook. Example - updating the endpoint URL for a existing Webhook. To only change name and endpoint parameters, select Payload in dropdown. To change Auth mechanism, select "Authentication Update" in the dropdown and select authentication type.

## Path parameters

- `id` string, uuid, required

## Request body

- WebhookPatchInput — Wrapper for webhook patch request input
  - `input` WebhookPatchPayload, required — unresolved $ref

## Response `200`

Patches the webhook

- WebhookPatch
  - `items` object
    - `id` string, uuid, required — Unique identifier for the webhook.
    - `name` string, required — Name of the webhook. Must be unique per customer.
    - `type` string, const, required — The API group of the resource.
    - `generation` integer, required — Generation number of the webhook.
    - `createdAt` string, date-time, required — The creation timestamp of the webhook in RFC 3339 format.
    - `updatedAt` string, date-time, required — The last update timestamp of the webhook in RFC 3339 format.
    - `success` boolean, required — Indicates whether the operation was successful.
    - `message` string, required — A message providing additional information about the operation.

## Other responses

- `400` — Invalid input received.
- `401` — Unauthorized. Authentication credentials are required or invalid.
- `403` — Forbidden: Access is denied.
- `404` — Not Found error.
- `429` — Too Many Requests. The user has sent too many requests in a given amount of time.
- `500` — Internal Server Error. An unexpected error occurred on the server.

---

[API](https://skmtc.dev/arubanetworks/apis/authorization.md) · [All operations](https://skmtc.dev/arubanetworks/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arubanetworks/authorization/revisions/74c95058b11f/schema)
