PUT
/v1/organizations/{organizationId}/udfs/{functionName}/attachments/{serviceId}Disclaimer: This beta endpoint is evolving; the API contract may change.
Attaches one UDF version to a service, replacing the current version when necessary. When version is omitted, the latest ready version is attached.
Path parameters
Request bodyJSON
Response
JSON
200
Current attachment state.
400
The service does not support UDFs.
JSON
404
UDF, version, or service not found.
JSON
409
The requested version is not ready or another attachment transition is in progress.
JSON
422
Service UDF attachment limit exceeded.
JSON
424
The service must be running before the UDF can be attached.
JSON
500
An internal server error has occurred. If this issue persists, please contact ClickHouse Cloud support for assistance.
JSON