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

Client-specified request token for idempotent retries.

Path Parameters

basin
string
required

Basin name.

Body

application/json

Response

201
application/json

The response is of type object.