子账号开关查询
GET
/api/v2/applications/{appId}/sub-account/switch
请求参数
Path 参数
appId
string
应用 ID
示例值:
64slcuwviucmwoiver98hff
Header 参数
Authorization
string
必需
示例值:
Bearer sdfdsfdsf
x-authing-userpool-id
string
必需
示例值:
61b95d6c96d42670da568408
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://core.authing.cn/api/v2/applications/64slcuwviucmwoiver98hff/sub-account/switch' \
--header 'Authorization: Bearer sdfdsfdsf' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
boolean
必需
示例
{
"code": 200,
"message": "查询状态成功",
"data": false
}
修改于 2022-01-14 11:39:47