Headers
Bearer $TOKEN
application/json
Body parameters
How long the maintenance lasts from now, in seconds, for example 1800 for 30 minutes, and at most 1000 years, which is what indefinitely sets in Better Stack. Use either duration or until.
When the maintenance ends, as an ISO 8601 time in the future, like 2026-11-16T18:30:00Z, and at most 1000 years from now. Use either duration or until.
The name of the team. Required with a global API token that reaches several teams, unless you set team_id.
The ID of the team shown in Better Stack URLs, with the t prefix, like t123. Use it instead of team_name with a global API token.