Update endpoint
update_endpointChange any setting of an existing endpoint, including its method, route or folder. Pass only the fields to change in changes; the rest keep their current values. Identify the endpoint by endpoint_id, or by method and route. A resource's generated CRUD routes can't be edited.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | No | Route starting with /, used with method when endpoint_id is omitted. | |
| method | No | HTTP method, used with route when endpoint_id is omitted. | |
| changes | Yes | Only the fields to change. Everything else keeps its current value. | |
| workspace | Yes | Target workspace slug (from list_workspaces). | |
| endpoint_id | No | Endpoint id (from list_endpoints). Omit to identify it by method and route. |