Skip to main content
PUT
/
basins
/
{basin}
Create or reconfigure a basin.
curl --request PUT \
  --url https://aws.s2.dev/v1/basins/{basin} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "created_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "deleted_at": "2023-11-07T05:31:56Z",
  "scope": "aws:us-east-1"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

basin
string
required

Basin name.

Required string length: 8 - 48

Body

application/json
config
object

Basin reconfiguration.

scope
null | enum<string>

Basin scope. This cannot be reconfigured.

Available options:
aws:us-east-1

Response

created_at
string<date-time>
required

Creation time in RFC 3339 format.

name
string
required

Basin name.

Required string length: 8 - 48
deleted_at
string<date-time> | null

Deletion time in RFC 3339 format, if the basin is being deleted.

scope
null | enum<string>

Basin scope.

Available options:
aws:us-east-1