跳转到主要内容
POST
/
api
/
admin
/
v1
/
staking
/
products
/
{id}
/
status
更新产品状态
curl --request POST \
  --url https://api.example.com/api/admin/v1/staking/products/{id}/status \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "paused",
  "reason": "Risk review in progress"
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "success": true
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.nexfi.robert.dpdns.org/llms.txt

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

路径参数

id
string
必填

产品 ID。

示例:

"base_usdc_nexfi_vault"

请求体

application/json

管理端产品状态更新请求。

status
enum<string>
必填

目标状态。

可用选项:
active,
paused,
disabled
示例:

"paused"

reason
string

可选原因说明。

示例:

"Risk review in progress"

响应

200 - application/json

成功返回状态变更结果

统一响应包裹结构。

code
integer
必填

业务状态码,0 表示成功。

示例:

0

msg
string
必填

可读返回消息。

示例:

"ok"

data
object

通用管理端成功结果。