Toggle schedule
Disable, enable, and manage schedules across tenants in your environment
put/tenants/{env_id}/schedule
Request
- Base URLhttps://api.hotglue.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
env_idstring required
ID of environment
Query parameters
mode'upsert'
By default, the toggle endpoint only applies to tenants who already have (or had) schedules. Passing ?mode=upsert will apply schedules to tenants whether or not they currently have schedules
Request body
Response
200
Example response
{
"toggle": "enable",
"updated": 1
}Changes
No recorded changes to this operation across all 8 revisions of this API.