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
آخر تعديل في ٢٤ يوليو ٢٠٢٦