Skip to main content
PUT
/
api
/
admin
/
staking
/
products
/
{id}
Update staking product
curl --request PUT \
  --url https://api.example.com/api/admin/staking/products/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "paused",
  "reason": "Risk review in progress"
}
'
{
  "code": 0,
  "msg": "ok",
  "data": {
    "success": true
  }
}

Path Parameters

id
string
required

Product ID.

Example:

"base_usdc_nexfi_vault"

Body

application/json

Admin request for updating product status.

status
enum<string>
required

Target product status.

Available options:
active,
paused,
disabled
Example:

"paused"

reason
string

Optional reason for the change.

Example:

"Risk review in progress"

Response

200 - application/json

Status update response

Standard response envelope.

code
integer
required

Business status code. 0 means success.

Example:

0

msg
string
required

Human-readable response message.

Example:

"ok"

data
object

Generic admin success payload.