GET
/
access-tokens
curl --request GET \
  --url https://aws.s2.dev/v1/access-tokens \
  --header 'Authorization: Bearer <token>'
{
  "access_tokens": [
    {
      "auto_prefix_streams": false,
      "expires_at": "<string>",
      "id": "<string>",
      "scope": {
        "access_tokens": null,
        "basins": null,
        "op_groups": null,
        "ops": [
          "list-basins"
        ],
        "streams": null
      }
    }
  ],
  "has_more": true
}

Model paging by specifying start_after as the last access token ID that was returned.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

prefix
string
default:""

Filter to access tokens whose ID begins with this prefix.

start_after
string
default:""

Filter to access tokens whose ID lexicographically starts after this string.

limit
integer
default:1000

Number of results, up to a maximum of 1000.

Required range: 0 <= x <= 1000

Response

200
application/json

The response is of type object.