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
Name | Type | Required | Description |
---|---|---|---|
WORKSPACE_NAME | string | true | Name of Workspace |
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/${WORKSPACE_NAME}/organizations/${ORGANIZATION_NAME}/users" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}" \
--form-string "user=${USER_NAME}"
Result 201