Skip to main content
POST
/
api
/
admin
/
v1
/
staking
/
products
/
{id}
/
status
Update staking product 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.

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.