v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
oauthManagement

List OAuth consents.

Get a list of OAuth consents within the organization. Administrators can list all consents, while others can only list consents that they have authorized.

get/v1/oauth/consents

Query parameters

limitinteger

Limit the number of consents returned in the response.

tokenstring

Continuation token to get the next page of results.

authorizedUserstring

Filter consents by the identifier of the user who authorized the consent.

clientIdstring

Filter consents by the clientId of a registered OAuth client.

Response

A list of OAuth consents.

nextstring

Next continuation token.

Example response

{
  "data": [
    {
      "id": "0000000006743FDE",
      "clientId": "zVplCFHcpTDwtktBIQmFI2K6s9HEo4HAtcQD1f1M5eQ",
      "clientName": "My OAuth App",
      "authorizedAt": "2018-10-16T09:10:00Z",
      "authorizedUser": "0000000006743FDD",
      "lastUsedAt": "2018-10-16T09:10:00Z",
      "scopes": [
        "manageUsersAndRoles",
        "viewCollectors"
      ]
    }
  ],
  "next": "GDCiRv4vebF3UWFJQ1kySXBOR3Bzh69GR0RyWm9vCtc"
}