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

ワークスペースのグループ一覧を取得する

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

ワークスペースのグループ一覧を取得します。


Path Params

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueワークスペース名

Example

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

Result 200

{
"error": false,
"organizations": [
{
"type": "Organization",
"name": "${ORGANIZATION_NAME}",
"display_name": "${ORGANIZATION_DISPLAY_NAME}",
"description": "${ORGANIZATION_DESCRIPTION}",
"url": "https://deploygate.com/organizations/${ORGANIZATION_NAME}"
}
]
}