List Users by Organization
GET https://api.suger.cloud/org/{orgId}/user
List all users under the given organization. Each user includes id, firstName, lastName, email, userRole, and login/join times. Use this to find a user's ID from their email address.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
Responses
200 — Success
Content-Type: application/json
500 — Internal server error
Content-Type: application/json
Example
Generated from this operation's schema. Values are placeholders —
substitute your own ids, and set SUGER_TOKEN to a bearer token
from the OAuth client-credentials exchange.
Request
curl -X GET 'https://api.suger.cloud/org/{orgId}/user' \
-H "Authorization: Bearer $SUGER_TOKEN" Response — 200
[
{}
] Error — 500
"string" View as Markdown · API reference overview
Spotted something wrong or out of date on this page? Tell us and we'll correct it.