メインコンテンツまでスキップ

エンタープライズのグループにメンバーを追加する

POST https://deploygate.com/api/enterprises/{ENTERPRISE_NAME}/organizations/{ORGANIZATION_NAME}/users

新しいユーザーをエンタープライズのグループに追加します。追加するユーザーはエンタープライズに所属している必要があります。


Path Params

NameTypeRequiredDescription
ENTERPRISE_NAMEstringtrueエンタープライズ名
ORGANIZATION_NAMEstringtrueグループ名

Body

NameTypeRequiredDescription
userstringtrueユーザー名

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