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": "[]",
        "streams": null
      }
    }
  ],
  "has_more": true
}

Authorizations

Authorization
string
header
required

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

Query Parameters

prefix
string
default:

List access tokens that begin with this prefix.

start_after
string
default:

Only return access tokens that lexicographically start after this ID.

limit
integer
default:1000

Number of results, up to a maximum of 1000.

Required range: 0 <= x <= 1000

Response

200
application/json
access_tokens
object[]
required

Access tokens information.

has_more
boolean
required

If set, indicates there are more results that can be listed with start_after.