Service tokens

List service tokens

List service tokens for an organization.

Authorization

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

Service Token Accesses read_service_tokens

get/organizations/{organization}/service-tokens

Path parameters

organizationstring required

The name of the organization

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 organization's service tokens

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 4 of the 25 revisions of this API.215

    • added the required property per_page to the response with the 200 status

      response-required-property-added

    • added the required property total_count to the response with the 200 status

      response-required-property-added

    • added the required property total_pages to the response with the 200 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 data/items/actor_display_name became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/actor_id became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/actor_type became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/expires_at became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/last_used_at became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/name became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/oauth_accesses_by_resource became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/plain_text_refresh_token became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/service_token_accesses became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/service_token_accesses/items/resource/deleted_at became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/token became nullable for the status 200

      response-property-became-nullable

    • the response property next_page became nullable for the status 200

      response-property-became-nullable

    • the response property next_page_url became nullable for the status 200

      response-property-became-nullable

    • the response property prev_page became nullable for the status 200

      response-property-became-nullable

    • the response property prev_page_url became nullable for the status 200

      response-property-became-nullable

    • the response property data/items/oauth_accesses_by_resource became optional for the status 200

      response-property-became-optional

    • the response property data/items/plain_text_refresh_token became optional for the status 200

      response-property-became-optional

    • the response property data/items/service_token_accesses became optional for the status 200

      response-property-became-optional

    • the response property data/items/token became optional for the status 200

      response-property-became-optional

    • added the required property type to the response with the 200 status

      response-required-property-added

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

      request-parameter-type-changed

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

      request-parameter-type-changed

    • endpoint added

      endpoint-added

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