OAuth applications

List OAuth tokens

List OAuth tokens created by an OAuth application

Authorization

A service token must have at least one of the following access in order to use this API endpoint:

Service Token Accesses read_oauth_tokens

get/organizations/{organization}/oauth-applications/{application_id}/tokens

Path parameters

organizationstring required

The name of the organization the OAuth application belongs to

application_idstring required

The ID of the OAuth application

Query parameters

pageinteger

If provided, specifies the page offset of returned results

per_pageinteger

If provided, specifies the number of returned results

Response

Returns the OAuth tokens issued on behalf of the OAuth application

typestring required

The response type. Always "list" for paginated responses.

current_pageinteger required

The current page number

per_pageinteger required

The maximum number of results per page

next_pageinteger nullable required

The next page number, or null when this is the last page

next_page_urlstring nullable required

The next page of results, or null when this is the last page

prev_pageinteger nullable required

The previous page number, or null when this is the first page

prev_page_urlstring nullable required

The previous page of results, or null when this is the first page

total_countinteger required

The total number of matching results

total_pagesinteger required

The total number of pages of matching results

Changes

Changed in 3 of the 25 revisions of this API.214

    • added the required property to the response with the status

      response-required-property-added

    • added the required property to the response with the status

      response-required-property-added

    • added the required property to the response with the status

      response-required-property-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 72506953f367191See the full diff
    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property ///// became nullable for the status

      response-property-became-nullable

    • the response property // became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property became nullable for the status

      response-property-became-nullable

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • the response property // became optional for the status

      response-property-became-optional

    • added the required property to the response with the status

      response-required-property-added

    • for the query request parameter page, the type changed from number to integer

      request-parameter-type-changed

    • for the query request parameter per_page, the type changed from number to integer

      request-parameter-type-changed