POST
/
access-tokens
curl --request POST \
  --url https://aws.s2.dev/v1/access-tokens \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "auto_prefix_streams": false,
  "expires_at": "<string>",
  "id": "<string>",
  "scope": {
    "access_tokens": null,
    "basins": null,
    "op_groups": null,
    "ops": "[]",
    "streams": null
  }
}'
{
  "access_token": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

The response is of type object.