メインコンテンツへスキップ
POST
/
v1
/
organizations
/
{organizationId}
/
invitations
招待を作成
curl --request POST \
  --url https://api.clickhouse.cloud/v1/organizations/{organizationId}/invitations \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "jsmith@example.com"
}
'
{
  "requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "result": {
    "createdAt": "2023-11-07T05:31:56Z",
    "email": "jsmith@example.com",
    "expireAt": "2023-11-07T05:31:56Z",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "status": 200
}

承認

Authorization
string
header
必須

ClickHouse Cloud コンソールで取得した key ID と key secret を使用してください: https://clickhouse.com/docs/cloud/manage/openapi

パスパラメータ

organizationId
string<uuid>
必須

ユーザーを招待する組織のID。

ボディ

application/json
email
string<email>

招待されたユーザーのメールアドレス。この招待を使用して参加できるのは、このメールアドレスのユーザーのみです。メールアドレスは小文字で保存されます。

role
enum<string>

組織内のメンバーのロール。

利用可能なオプション:
admin,
developer

レスポンス

成功レスポンス

requestId
string<uuid>

各リクエストに割り当てられる一意のID。UUIDv4

result
object
status
number

HTTPステータスコード。

:

200

最終更新日 2026年6月10日