Regions

Region management operations

List regions

get

Lists regions

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Query parameters
parent_region_idstringOptional

Filter by parent region ID

limitinteger · min: 1Optional

Requests a page size of items

markerstringOptional

The ID of the last-seen item for pagination

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
400

Some content in the request was invalid

application/json
get
/regions

Create region

post

Creates a region

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
400

Some content in the request was invalid

application/json
post
/regions

Show region details

get

Shows details for a region

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
region_idstringRequired

The region ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
400

Some content in the request was invalid

application/json
get
/regions/{region_id}

Delete region

delete

Deletes a region

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
region_idstringRequired

The region ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Responses
400

Some content in the request was invalid

application/json
delete
/regions/{region_id}

No content

Update region

patch

Updates a region

Authorizations
X-Auth-TokenstringRequired

Authentication token obtained from the authentication service

Path parameters
region_idstringRequired

The region ID

Header parameters
X-Auth-TokenstringRequired

A valid authentication token

Body
Responses
400

Some content in the request was invalid

application/json
patch
/regions/{region_id}

Last updated

Was this helpful?