Add Member to Organization in Enterprise
POST https://deploygate.com/api/enterprises/{ENTERPRISE_NAME}/organizations/{ORGANIZATION_NAME}/users
Add new member to group in your Enterprise. Member account should be belongs to your Enterprise.
Path Params
Name | Type | Required | Description |
---|---|---|---|
ENTERPRISE_NAME | string | true | Name of Enterprise |
ORGANIZATION_NAME | string | true | Name of Organization |
Body
Name | Type | Required | Description |
---|---|---|---|
user | string | true | Name of User Account |
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