Skip to main content

Add Member to Organization in Workspace

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

Add new member to group in your Workspace. Member account should be belongs to your Workspace.


Path Params

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueName of Workspace
ORGANIZATION_NAMEstringtrueName of Organization

Body

NameTypeRequiredDescription
userstringtrueName of User Account

Example

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

Result 201