Перейти к основному содержанию
GET
/
customer
/
v1
/
licenses
/
{license}
/
locations
Get Allowed Locations for a License (v1)
curl --request GET \
  --url https://orbitflare.com/api/customer/v1/licenses/{license}/locations \
  --header 'X-ORBIT-KEY: <api-key>'
{
  "error": false,
  "locations": [
    {
      "id": 123,
      "name": "<string>"
    }
  ],
  "message": "<string>"
}
Устарело. Этот эндпоинт относится к Customer API v1. Используйте Customer API v2 вместо него.

Авторизации

X-ORBIT-KEY
string
header
обязательно

API key for v1 and v2 (when not using Bearer token)

Параметры пути

license
string
обязательно

The license identifier.

Ответ

Locations retrieved successfully.

error
boolean
по умолчанию:false
locations
object[]
message
string