POST
/
basins
curl --request POST \
  --url https://aws.s2.dev/v1/basins \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "basin": "<string>",
  "config": null,
  "scope": "aws:us-east-1"
}'
{
  "name": "<string>",
  "scope": "aws:us-east-1",
  "state": "active"
}

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.