跳转到主要内容
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