Add Shared Team to Workspace
POST
https://deploygate.com/api/enterprises/{WORKSPACE_NAME}/shared_teams
Add new shared team to Workspace.
Path Params
Name | Type | Required | Description |
---|---|---|---|
WORKSPACE_NAME | string | true | Name of Workspace |
Body
Name | Type | Required | Description |
---|---|---|---|
name | string | true | Name of Shared Team |
description | string | false | Description of Shared Team |
Example
curl \
-X POST \
--url "https://deploygate.com/api/enterprises/${WORKSPACE_NAME}/shared_teams" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}" \
--form-string "name=${SHARED_TEAM_NAME}" \
--form-string "description=this is the description of the new shared team"
Result 201