Skip to main content

Workspace Organization Members List

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

Get member list of the organization in your Workspace.


Path Params

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueName of Workspace
ORGANIZATION_NAMEstringtrueOrganization Name

Example

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

Result 200

{
"error": false,
"users": [
{
"type": "User",
"name": "${USER_NAME}",
"display_name": "${USER_DISPLAY_NAME}",
"icon_url": "https://example.com/path/to/user/icon.png",
"url": "https://deploygate.com/users/${$USER_NAME}",
"full_name": "${FULL_NAME}",
"email": "${EMAIL}",
"last_access_at": "2023-09-08T11:18:36.000+09:00" // ISO 8601
}
]
}