Get Shared Team list in Workspace
GET
https://deploygate.com/api/enterprises/{WORKSPACE_NAME}/shared_teams
Get shared team list of Workspace.
Path Params
Name | Type | Required | Description |
---|---|---|---|
WORKSPACE_NAME | string | true | Name 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
}
]
}