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

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

POST https://deploygate.com/api/enterprises/{ENTERPRISE_USER}/users

新しいユーザーをエンタープライズに追加します。


Path Params

NameTypeRequiredDescription
ENTERPRISE_USERstringtrueエンタープライズ名

Body

NameTypeRequiredDescription
userstringtrueユーザー名/メールアドレス

Example

curl \
-X POST \
--url "https://deploygate.com/api/enterprises/${ENTERPRISE_NAME}/users" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}" \
--form-string "user=${USERNAME}"

Result 201