List API Clients
GET https://api.suger.cloud/org/{orgId}/apiClient
List all API clients in the given organization.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
orgId | path | string | yes | Organization ID |
Responses
200 — OK
Content-Type: application/json
ApiClient fields:
| Field | Type | Required | Description |
|---|---|---|---|
apiKeyHash | string | no | |
creationTime | string | no | |
id | string | no | |
info | array<integer> | no | |
lastUpdateTime | string | no | |
organizationID | string | no | |
provider | string | no | |
role | string | no | |
secret | string | no | |
type | string | no |
400 — Bad request error
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}/apiClient' \
-H "Authorization: Bearer $SUGER_TOKEN" Response — 200
[
{
"apiKeyHash": "string",
"creationTime": "2026-01-31T12:00:00Z",
"id": "01H0000000000000000000",
"info": [
1
],
"lastUpdateTime": "2026-01-31T12:00:00Z",
"organizationID": "01H0000000000000000000",
"provider": "string",
"role": "string",
"secret": "string",
"type": "string"
}
] Error — 400
"string" View as Markdown · Interactive API reference
Spotted something wrong or out of date on this page? Tell us and we'll correct it.