跳转到主要内容
PUT
/
customer
/
v2
/
api-keys
/
{apiKey}
Update API Key
curl --request PUT \
  --url https://orbitflare.com/api/customer/v2/api-keys/{apiKey} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "enabled": true
}
'
{
  "success": true,
  "message": "<string>",
  "data": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.orbitflare.com/llms.txt

Use this file to discover all available pages before exploring further.

授权

Authorization
string
header
必填

Bearer token from device or wallet auth

路径参数

apiKey
string
必填

API key ID or identifier

请求体

application/json
name
string
enabled
boolean

响应

API key updated.

success
boolean
示例:

true

message
string
data
object