跳到主要内容

getClients

PageableClientResponse getClients(limit, last_client_id, last_created_on)

GET /api/2.0/oauth2/clients

List clients

Returns one page of the tenant's clients, newest first, each in the same full form as the single-client read. An administrator sees every client of the tenant, a plain user only the clients they created. Paging is keyset-based rather than offset-based: limit sets the page size, and last_client_id and last_created_on are carried over from the previous page to ask for the next one. The limit defaults to 30 and has to lie between 1 and 50; a value outside that range, or a last_created_on that cannot be parsed as a date, is rejected with 400.

Parameters​

NameInTypeDescriptionNotes
limitqueryInteger (int32)How many entries to return, between 1 and 50. Defaults to 30 when omitted.[optional] [example: 30] [default to 30] [min: 1] [max: 50]
last_client_idqueryStringID of the last retrieved client[optional] [example: 6c7cf17b-1bd3-47d5-94c6-be2d3570e168]
last_created_onqueryDate (date-time)Date of the last retrieved client[optional] [example: 2024-04-04T12:00:00Z]

Responses​

Status codeDescriptionTypeResponse headers
200Client list successfully retrievedPageableClientResponse-
400Invalid pagination parameters, including a last_created_on that cannot be parsed as a date-timeProblemDetail-
403Insufficient permissions to list clientsProblemDetail-
406The Accept header does not allow application/jsonProblemDetail-
429Too many requests - rate limit exceededProblemDetail-
500Internal server error occurredProblemDetail-
405The HTTP method is not allowed for this pathProblemDetail-

Return type​

PageableClientResponse

Authorization​

x-signature

HTTP request headers​

  • Content-Type: Not defined
  • Accept: application/json