Updates the rebalance schedule interval for a portfolio.
The unique identifier of the portfolio
The new interval settings
Interval in milliseconds (min: 1 hour, max: 1 year)
Offset from start time in milliseconds
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/update-schedule-interval' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: your_api_key_here' \
--data '{
"interval": {
"every": 43200000,
"offset": 0
}
}'
{
"success": true,
"data": {
"portfolioId": "port_abc123",
"scheduleId": "sched_abc123",
"previousInterval": {
"every": 21600000,
"offset": 0
},
"newInterval": {
"every": 43200000,
"offset": 0,
"humanReadable": "12 hours"
},
"message": "Portfolio rebalance schedule updated to run every 12 hours",
"nextScheduledRun": "2023-05-22T01:30:00.000Z"
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}