PUT
https://aws.s2.dev/v1
/
basins
/
{basin}
curl --request PUT \
  --url https://aws.s2.dev/v1/basins/{basin} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 's2-request-token: false' \
  --data null
{
  "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.

Headers

s2-request-token
string

Provide a client request token header for idempotent retry behaviour.

Path Parameters

basin
string
required

Basin name.

Body

application/json
config
object | null

Basin configuration.

scope
enum<string>
default:aws:us-east-1

Basin scope. This cannot be reconfigured.

Available options:
aws:us-east-1

Response

201
application/json
name
string
required

Basin name.

scope
enum<string>
required

Basin scope.

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

Basin state.

Available options:
active,
creating,
deleting