Skip to main content

List Members of Workspace

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

Get member list of your Workspace.


Path Params

NameTypeRequiredDescription
WORKSPACE_NAMEstringtrueName 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": "${USERNAME}",
"icon_url": "https://example.com/path/to/user.png",
"url": "https://deploygate.com/users/${USERNAME}",
"full_name": "${FULLNAME}",
"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
}
]
}