# Re-enable Disabled Endpoint

Canonical: https://docs.bluehola.com/docs/webhooks/post-v1-webhook-endpoints-id-enable
OpenAPI: https://docs.bluehola.com/openapi.yaml

<div class="endpoint"><span class="endpoint-method endpoint-method--post">POST</span><code class="endpoint-path">/v1/webhook-endpoints/{id}/enable</code></div>

Re-enable an endpoint that was disabled (DELETE).

:::note[Authentication]

Send `Authorization: Bearer <API_KEY>` in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

:::

## Request

Base URL: `https://api.bluehola.com`

### Parameters

| Name | In | Required | Type / constraints | Description |
| --- | --- | --- | --- | --- |
| `id` | path | Yes | string | The callback endpoint ID, `whe_...` |

## Response

| Status | Description |
| --- | --- |
| `201` | Created |
| `4xx` | Client error |

For the common error envelope and how to handle it, see [Error Codes](../guides/error-codes.md).

## Notes

#### Why this endpoint needs to exist
`DELETE {id}` is a **soft disable**, while `PATCH {id}` only accepts url / events / metadata — before this endpoint existed, disabling was a **one-way door**: delivery stopped permanently, and the only way out was to delete and recreate, at the cost of a new endpoint id, lost delivery history, and the integration having to update its configuration. Meanwhile the rotate-secret documentation itself recommends "disable, then rotate" — anyone who follows that advice would otherwise turn their own endpoint into a brick.

#### Which state it returns to is decided by the platform, not the caller
An endpoint that was already verified (`verifiedAt` is non-null) returns to `active` — it has already proven it controls that address, and disabling it does not undo that. **An unverified endpoint on the connection protocol returns to `pending`** and must go through ownership verification again: otherwise "create an endpoint pointing at someone else's server → disable → enable" would be a three-call way around verification, turning an anti-abuse mechanism into decoration. An endpoint created the old way (predating the verification flow, active from creation) returns to `active`, because it has no verification flow to go through — giving it `pending` would mean it can never deliver again.

Calling this on an endpoint that is already active or pending is **idempotent**: it returns to whatever state it should be in and clears `disabledAt`. The secret is not returned.
