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"
}
Pause automated rebalancing for a portfolio
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.
The unique identifier of the portfolio
Optional reason for pausing
Your API key for authentication
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"
}