跳转到主要内容
POST
/
account
/
info
查看主体信息
curl --request POST \
  --url 'https://api.flashcat.cloud/account/info?app_key=' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "error_code": 0,
  "data": {
    "account_id": 1001,
    "account_name": "acme",
    "domain": "acme",
    "extra_domains": [
      "acme-corp"
    ],
    "phone": "138****8000",
    "country_code": "86",
    "email": "ops@acme.example",
    "avatar": "https://cdn.flashcat.cloud/avatar/acme.png",
    "locale": "zh-CN",
    "time_zone": "Asia/Shanghai",
    "created_at": 1716960000,
    "restrictions": {
      "ips": [
        "203.0.113.0/24"
      ],
      "email_domains": [
        "acme.example"
      ],
      "allow_subdomain": true
    }
  }
}
权限描述
无 — 任意有效的 app_key 均可调用此操作。
平台 API 参考 中查看此操作。

授权

app_key
string
query
必填

在 Flashduty 控制台 账户 → APP Key 中签发的 app_key。调用任何公开 API 时都必须携带。它等同于所属账户的身份凭证,请妥善保管。

请求体

application/json

The body is of type object.

响应

OK

The response is of type any.