POST
/
v1
/
organizations
/
{organizationName}
/
groups
/
{groupName}
/
locations
/
{location}
curl -L -X POST 'https://api.turso.tech/v1/organizations/{organizationName}/groups/{groupName}/locations/{location}' \
-H 'Authorization: Bearer TOKEN'
{
  "group": {
    "archived": false,
    "locations": [
      "lhr",
      "ams"
    ],
    "name": "default",
    "primary": "lhr",
    "uuid": "f1dec998-8f7f-11ee-907d-a2a821fd08b9"
  }
}
curl -L -X POST 'https://api.turso.tech/v1/organizations/{organizationName}/groups/{groupName}/locations/{location}' \
-H 'Authorization: Bearer TOKEN'

Path Parameters

organizationName
string
required

The name of the organization or user.

groupName
string
required

The name of the group.

location
string
required

The location code to add to the group.

Response

200 - application/json
group
object

The group with the added location