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" }
Update the rebalance schedule interval for a portfolio