メインコンテンツまでスキップ

エンタープライズの共有チーム一覧を取得する

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

エンタープライズに存在する共有チーム一覧を取得します。


Path Params

NameTypeRequiredDescription
ENTERPRISE_NAMEstringtrueエンタープライズ名

Example

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

Result 200

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