cURL
curl --request POST \ --url https://aws.s2.dev/v1/access-tokens \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "<string>", "scope": { "access_tokens": null, "basins": null, "op_groups": null, "ops": [ "list-basins" ], "streams": null } }'
{ "access_token": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The response is of type object.
object