Skip to main content

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

NameTypeRequiredDescription
ENTERPRISE_NAMEstringtrueName of Enterprise
ORGANIZATION_NAMEstringtrueName of Organization

Body

NameTypeRequiredDescription
userstringtrueName 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