Skip to main content
POST
Create an invitation
Creates organization invitation.

授权

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 organization to invite a user to.

请求体

application/json
email
string<email>

Email of the invited user. Only a user with this email can join using the invitation. The email is stored in a lowercase form.

role
enum<string>
已弃用

DEPRECATED. Use assignedRoleIds instead. Role to assign to the invited user in the organization.

可用选项:
admin,
developer
assignedRoleIds
string[]

List of role IDs to assign to the invited user when they accept the invitation

响应

Successful response

status
number

HTTP status code.

示例:

200

requestId
string<uuid>

Unique id assigned to every request. UUIDv4

result
object
最后修改于 2026年7月24日