Update Scheduled Downtime
Use this API to update the Downtime for a Schedule.
post/schedules/downtime/{downtime_id}/
Request
- Base URLhttps://client.apimetrics.io/api/2
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
downtime_idstring required
The ID of the Downtime you're retrieving
Request body
Response
200
Example response
{
"meta": {
"project_id": "<< project id >>",
"schedule_id": "<< schedule id >>",
"created": "2024-03-05T23:01:11.294265Z",
"state": "inactive",
"last_update": "2024-03-05T23:01:11.493080Z"
},
"id": "<< id >>",
"schedule": {
"start_time": "2024-03-05T15:00:00",
"end_time": "2024-03-05T15:05:00",
"zone": "America/Los_Angeles"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.