エンタープライズのグループにメンバーを追加する
POST https://deploygate.com/api/enterprises/{ENTERPRISE_NAME}/organizations/{ORGANIZATION_NAME}/users
新しいユーザーをエンタープライズのグループに追加します。追加するユーザーはエンタープライズに所属している必要があります。
Path Params
Name | Type | Required | Description |
---|---|---|---|
ENTERPRISE_NAME | string | true | エンタープライズ名 |
ORGANIZATION_NAME | string | true | グループ名 |
Body
Name | Type | Required | Description |
---|---|---|---|
user | string | true | ユーザー名 |
Example
curl \
-X POST \
--url "https://deploygate.com/api/enterprises/${ENTERPRISE_NAME}/organizations/${ORGANIZATION_NAME}/users" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}" \
--form-string "user=${USERNAME}"
Result 201