Skip to main content

Add Member to Workspace

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

Add a new member's account to your Workspace.


Path Params

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueName of Workspace

Body

NameTypeRequiredDescription
userstringtrueMail Address

Example

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

Result 201