List Members of Workspace
GET
https://deploygate.com/api/enterprises/{WORKSPACE_NAME}/users
Get member list of your 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}/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.png",
"url": "https://deploygate.com/users/${USER_NAME}",
"full_name": "${FULL_NAME}",
"email": "${EMAIL}",
"role": "administrator" | "manager" | "general user",
"created_at": "2022-12-16T17:28:53.000+09:00", // ISO 8601
"last_access_at": "2023-09-08T11:18:36.000+09:00" // ISO 8601
}
]
}