cURL
curl --request POST \ --url https://aws.s2.dev/v1/basins \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "basin": "<string>" }'
{ "name": "<string>", "scope": "aws:us-east-1", "state": "active" }
Create a new basin in an account.
state
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
Bearer <token>
<token>
The response is of type object.
object