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

Authorizations

Authorization
string
header
required

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

Headers

s2-request-token
string

Path Parameters

basin
string
required

Name of the basin.

Body

application/json

Create basin request.

config
object | null

Basin configuration.

scope
enum<string>

Basin scope.

Available options:
unspecified,
aws:us-east-1

Response

201
application/json

Basin information.

name
string
required

Basin name.

scope
enum<string>
required

Basin scope.

Available options:
unspecified,
aws:us-east-1
state
enum<string>
required

Basin state.

Available options:
unspecified,
active,
creating,
deleting