Skip to main content

Get Shared Team list in Workspace

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

Get shared team list of Workspace.


Path Params

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueName of Workspace

Example

curl \
-X GET \
--url "https://deploygate.com/api/enterprises/${WORKSPACE_NAME}/shared_teams" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${API_TOKEN}"

Result 200

{
"error": false,
"teams": [
{
"name": "Owner",
"role": "owner",
"member_count": 1
}
]
}