Maximum number of requests available at one time for this rate limit. For more information, see Rate limits.
Security
SecretApiKey or JWT
- Mock serverhttps://www.rebilly.com/_mock/catalog/all/gateway-accounts/{id}/downtime-schedules/{downtimeId}
- Sandbox serverhttps://api-sandbox.rebilly.com/organizations/{organizationId}/gateway-accounts/{id}/downtime-schedules/{downtimeId}
- Live serverhttps://api.rebilly.com/organizations/{organizationId}/gateway-accounts/{id}/downtime-schedules/{downtimeId}
curl -i -X PUT \
'https://www.rebilly.com/_mock/catalog/all/gateway-accounts/{id}/downtime-schedules/{downtimeId}' \
-H 'Content-Type: application/json' \
-H 'REB-APIKEY: YOUR_API_KEY_HERE' \
-d '{
"startTime": "2019-08-24T14:15:22Z",
"endTime": "2019-08-24T14:15:22Z"
}'Headers
Number of requests still available for this rate limit. For more information, see Rate limits.
Example:499
Example:"gw_dwn_0YVCXRK9TKCC6AMAPFB9M4RXDP"
Enum:"pending""ongoing""finished"
Enum:"scheduled-maintenance""daily-limit-reached""monthly-limit-reached""gateway-unreachable"
Response
{ "id": "gw_dwn_0YVCXRK9TKCC6AMAPFB9M4RXDP", "status": "pending", "reason": "scheduled-maintenance", "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "createdTime": "2019-08-24T14:15:22Z", "updatedTime": "2019-08-24T14:15:22Z", "_links": [ { … } ] }