Skip to main content
GET
/
cloud
/
v1
/
reseller_region
Get a list of region access records for a client or a reseller
curl --request GET \
  --url https://api.gcore.com/cloud/v1/reseller_region \
  --header 'Authorization: <api-key>'
{
  "count": 1,
  "results": [
    {
      "client_name": "client_name",
      "id": 123,
      "reseller_name": "reseller_name",
      "access_all_edge_regions": false,
      "client_id": 8,
      "region_ids": [
        1,
        2,
        3
      ],
      "reseller_id": 1
    }
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Query Parameters

client_id
integer

Client ID. It is assumed to be null when unspecified.

reseller_id
integer

Reseller ID

Response

200 - application/json

list of access records for reseller or client

count
integer
required

Number of objects

Required range: x >= 0
Example:

1

results
Region access record · object[]
required

Objects