Skip to main content

Add Shared Team to Workspace

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

Add new shared team to Workspace.


Path Params

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueName of Workspace

Body

NameTypeRequiredDescription
namestringtrueName of Shared Team
descriptionstringfalseDescription 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