Skip to main content
PUT
Attach UDF to service
Attaches one UDF version to a service, replacing the current version when necessary. When version is omitted, the latest ready version is attached.

Permission

The API key must have the control-plane:organization:manage permission.

承認

Authorization
string
header
必須

Use key ID and key secret obtained in ClickHouse Cloud console: https://clickhouse.com/docs/cloud/manage/openapi

パスパラメータ

organizationId
string<uuid>
必須

ID of the requested organization.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
functionName
string
必須

Name of the UDF.

Pattern: ^[A-Za-z][A-Za-z0-9_]*$
serviceId
string<uuid>
必須

ID of the requested service.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$

ボディ

application/json
version
integer

Version to attach. When omitted, the latest ready version is attached.

例:

1

レスポンス

Current attachment state.

status
integer
必須

HTTP status code.

例:

200

requestId
string<uuid>
必須

Unique id assigned to every request. UUIDv4

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$
result
object
必須
最終更新日 2026年10月3日