- API调用指南
- 鉴权(访问令牌)
- 素材
- 联动打标
- 素材组
- 元数据(Metadata)
- 内容分发
- 01 分发看板
- 02 内容中心
- 03 私域中心
- 04社媒分发
- 消息
- 租户基础信息
- 用户信息
- 埋点
- 审批中心
- 规则引擎
- 冷库归档
- 客户端开放接口
- 历史版本(不推荐)
- 日常测试
- 测试POST
01 查询租户配置
POST
https://open-auth.tezign.com/open-api/standard/v1/tenant-config
租户信息
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Access-token
string
必需
示例值:
0c6debea-f99c-424b-b0c6-456b008f6308
Token-type
string
必需
示例值:
bearer
x-asm-prefer-tag
string
可选
默认值:
version-env-07
Body 参数application/json
token
string
必需
param
null
必需
示例
{
"token": "9a83bbf6-85ef-4aba-b3c4-d7c6e591c8ed",
"param": null
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://open-auth.tezign.com/open-api/standard/v1/tenant-config' \
--header 'Access-token: 0c6debea-f99c-424b-b0c6-456b008f6308' \
--header 'Token-type: bearer' \
--header 'x-asm-prefer-tag: version-env-07' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "9a83bbf6-85ef-4aba-b3c4-d7c6e591c8ed",
"param": null
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
message
string
必需
result
object
必需
clientId
string
clientID
tenantId
string
clientID对应的租户ID
示例
{
"code": "0",
"message": "处理成功",
"result": {
"tenantId": "t6",
"clientId": "test_t6"
}
}
修改于 2023-09-07 07:15:20