update_endpoint
Update an existing webhook endpoint. Pause, resume, change its URL, or update its description by specifying only the fields to modify.
Instructions
Patch an existing endpoint. Only fields explicitly set in the input are sent to the API; omit a field to leave it unchanged. Common uses: pause/resume via is_active, redirect via url. Example: "pause ep_abc" / "disable ep_abc" → endpoint_id="ep_abc", is_active=false. "resume ep_abc" / "enable ep_abc" → is_active=true. "point ep_abc at https://new.com" → endpoint_id="ep_abc", url="https://new.com". PATCH semantics matter: passing url="" would clear the URL, so don't include fields the user didn't ask to change. For the full endpoint schema, see resource nahook://schemas/endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | the endpoint's public id (ep_xxx) | |
| url | No | new destination URL | |
| description | No | new description text | |
| is_active | No | set false to pause the endpoint, true to resume |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | Yes | the endpoint |