删除 key
POST
/custom_key/remove
请求参数
Header 参数
Content-Type
string
必需
默认值:
application/json
Authorization
string
必需
默认值:
Bearer fk....
Body 参数application/json
key
string
必需
示例
{
"key": "fk18xxxx"
}
示例代码
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://oa.api2d.net/custom_key/remove' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"key": "fk18xxxx"
}'
返回响应
🟢200OK
application/json
Body
object {0}
示例
{
"code": 0,
"data": {
"custom_key": {
"id": 103317,
"uid": 186009,
"key": "...",
"enabled": 0,
"point": 0,
"minute_times": 60,
"last_access_time": null,
"type_id": "43",
"created_at": "2023-04-26T01:07:00.000000Z",
"updated_at": "2023-05-27T04:22:44.000000Z",
"daily_times": 0,
"daily_quota": 10000,
"note": "",
"monthly_times": 0,
"monthly_quota": 300000
}
}
}
修改于 2024-06-17 13:09:11