POST
/
v1
/
portfolio
/
:portfolioId
/
rebalance
/
schedule
/
pause
curl --request POST \
  --url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/schedule/pause' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: your_api_key_here' \
  --data '{
    "reason": "Pausing for market volatility"
  }'
{
  "success": true,
  "data": {
    "portfolioId": "port_abc123",
    "scheduleId": "sched_abc123",
    "status": "paused",
    "message": "Portfolio automation paused successfully",
    "paused": true,
    "pausedAt": "2023-05-21T13:45:12.345Z",
    "reason": "Paused via API: Pausing for market volatility"
  },
  "correlationId": "corr_abc123",
  "requestId": "req_xyz789",
  "timestamp": "2023-05-21T13:45:12.345Z"
}

Pauses automated rebalancing for a portfolio.

portfolioId
string
required

The unique identifier of the portfolio

reason
string

Optional reason for pausing

X-API-KEY
string
required

Your API key for authentication

Content-Type
string
default:"application/json"

The format of the request body

curl --request POST \
  --url 'https://api.glider.fi/v1/portfolio/port_abc123/rebalance/schedule/pause' \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: your_api_key_here' \
  --data '{
    "reason": "Pausing for market volatility"
  }'
{
  "success": true,
  "data": {
    "portfolioId": "port_abc123",
    "scheduleId": "sched_abc123",
    "status": "paused",
    "message": "Portfolio automation paused successfully",
    "paused": true,
    "pausedAt": "2023-05-21T13:45:12.345Z",
    "reason": "Paused via API: Pausing for market volatility"
  },
  "correlationId": "corr_abc123",
  "requestId": "req_xyz789",
  "timestamp": "2023-05-21T13:45:12.345Z"
}