跳转到主要内容
DELETE
/
v1
/
security
/
apikey
/
{id}
吊销 API Key
curl --request DELETE \
  --url https://api.runly.pro/v1/security/apikey/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": {
    "code": 200,
    "message": "OK",
    "trace_id": "tr_key_rev"
  },
  "data": {
    "message": "API Key revoked successfully"
  },
  "usage": {
    "latency_ms": 15
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

id
string
必填

响应

200 - application/json

操作结果

status
object
必填
data
object
output
object
usage
object