Skip to main content
PUT
/
locations
/
default
Set the default location.
curl --request PUT \
  --url https://aws.s2.dev/v1/locations/default \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '"<string>"'
{
  "is_private": true,
  "name": "<string>"
}

Basin location concepts

Review how locations affect basin placement, latency, and account defaults.

Authorizations

Authorization
string
header
required

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

Body

application/json

The body is of type string.

Required string length: 1 - 64

Response

is_private
boolean
required

Location represents a private placement, limited by account.

name
string
required

Location name.

Required string length: 1 - 64