NodeRings Docs

Create Region

POST
/v1/regions
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

cityCountryId?string
datacenterId?string

Response Body

application/json

curl -X POST "https://api.nrings.io/v1/regions" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}" \  -H "Content-Type: application/json" \  -d '{  "cityCountryId": "string",  "datacenterId": "string"}'
{
  "id": "string",
  "organizationId": "string",
  "timestamps": {
    "createTime": "2019-08-24T14:15:22Z",
    "updateTime": "2019-08-24T14:15:22Z"
  },
  "cityCountry": {
    "id": "string",
    "cityName": "string",
    "countryName": "string"
  },
  "datacenter": {
    "id": "string",
    "name": "string"
  }
}