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

Request

  • Base URL
    https://api.au.sumologic.com/api
  • URL
    https://api.au.sumologic.com/api/v1/oauth/consents
  • Auth
    HTTP basic

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"
}

Changes

No recorded changes to this operation across all 15 revisions of this API.