Update dynamic endpoint
update_dynamic_endpointUpdate a dynamic endpoint's display_name, description, and content_type (metadata only — this does NOT change the workflow binding or cache setting; author those with create_dynamic_endpoint_version, and the slug cannot be changed). This is a WHOLESALE replace: display_name is required and description + content_type are set to exactly what you pass. IMPORTANT: an empty content_type CLEARS it, reverting the endpoint to serving whatever content-type the workflow returns (e.g. a text/html page would start serving as text/plain). So read the current values with get_dynamic_endpoint first and pass all fields you want to keep.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | What this endpoint serves. Set wholesale — an empty value clears it. | |
| endpoint_id | Yes | The endpoint id to update. | |
| content_type | No | The response Content-Type this endpoint serves (e.g. text/html). Set wholesale — an empty value CLEARS it, reverting to the workflow's own content-type. Pass the current value to preserve serving behavior. | |
| display_name | Yes | Human-readable name. Required (cannot be blank). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | ||
| version | No | ||
| definition | No | ||
| public_url | No | ||
| description | Yes | ||
| endpoint_id | Yes | ||
| content_type | Yes | ||
| display_name | Yes | ||
| latest_version | Yes | ||
| last_published_version | Yes |