[认证管理]申请认证
POST
/openapi/v0.9/manage/api/v1/organizations/{org_uuid}/auth-info
es-management-service
请求参数
Path 参数
org_uuid
string
必需
Query 参数
option
enum<integer>
可选
枚举值:
0123
type
enum<string>
可选
枚举值:
flight-record
Header 参数
x-user-token
string
必需
默认值:
{{x-user-token}}
X-Request-Id
string
可选
默认值:
{% mock 'uuid' %}
Body 参数application/json
option
integer
必需
required: true
example: device_damage
description: 选项
type
string
必需
required: true
example: device_damage
enum: device_damage,device_repair
description: 认证类型
示例
{
"option": 0,
"type": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/openapi/v0.9/manage/api/v1/organizations//auth-info?option&type' \
--header 'x-user-token;' \
--header 'X-Request-Id: {% mock '\''uuid'\'' %}' \
--header 'Content-Type: application/json' \
--data-raw '{
"option": 0,
"type": "string"
}'
返回响应
🟢200成功
application/json
Body
allOf {2}
可选
object (Resp) | null
HTTP响应模板
code
integer
响应码
message
string
响应消息
data
object | null
响应数据
object
可选
data
boolean
可选
示例
{
"code": 0,
"message": "string",
"data": true
}
修改于 2025-06-25 09:43:20