> ## Documentation Index
> Fetch the complete documentation index at: https://docs.annature.com.au/llms.txt
> Use this file to discover all available pages before exploring further.

# Update an endpoint

Updates the status of an existing webhook endpoint.

Currently, only the `active` property can be modified. If you need to change the endpoint URL, you must [create a new endpoint](api-reference/endpoints/create-endpoint).

This is typically used to temporarily deactivate or reactivate a webhook listener without removing it entirely.

> If an endpoint is deactivated, all **pending webhook delivery attempts** are immediately cancelled and will not be retried.
>
> When reactivated, the endpoint will begin receiving **new events only** from that point forward.
>
> Some developers use this toggle intentionally to discard a backlog of failed events — for example, if their API was temporarily unavailable and they want to resume cleanly after resolving the issue.

## Parameters

<ParamField path="id" type="string">
  The unique identifier for the webhook endpoint.
</ParamField>

<ParamField path="active" type="boolean">
  Whether the endpoint is active (`true`) or inactive (`false`).
</ParamField>

<RequestExample>
  ```bash Endpoint theme={null}
  PUT /v1/endpoints/:id
  ```

  ```json Body theme={null}
  {
    "active": true
  }
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "id": "d53ec5c47bd8fa4463b0931251f7da3e",
    "url": "https://example.com/webhooks",
    "signature": "c7bbce6f29eadcdaa6570cc07d4bec83",
    "active": true,
    "created": "2019-12-17T05:30:00Z"
  }
  ```
</ResponseExample>
