Obtain a List of a Workspace’s Organizations
GET
https://deploygate.com/api/enterprises/{WORKSPACE_NAME}/organizations
This process will allow you to obtain a list of a Workspace’s Organizations.
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}/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}"
}
]
}