Create Temporary Closure

Create a one-off closure. At each covered location, once the window has ended there, the incomplete tasks that fall inside it are deleted instead of counting against completion rates. Completed tasks are never removed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Use Preview Temporary Closure Locations first to see what a scope and criteria cover.

Body Params
string
enum
required

company: your company's locations only. brand: your company's locations plus those of its paying / trial descendants. brand is allowed only for a managing company with a brand and cross-company sharing; otherwise 400 with code brand_not_allowed.

Allowed:
criteria
object
required

Which locations the closure covers. A key that belongs to another mode is rejected with code unexpected.

string
required
length ≤ 255
string
required

Local time at each location, as YYYY-MM-DDThh:mm:ss with no time zone or offset. Show it as is; don't convert it. Seconds must be 00. A window over several days must start at 00:00:00 and end at 23:59:59.

string
required

Local time at each location, as YYYY-MM-DDThh:mm:ss with no time zone or offset. Show it as is; don't convert it. Seconds must be 59: the end is inclusive, so 17:59:59 covers the whole 17:59 minute. Must be after the start.

Headers
string
required

API token of the user making the request. Must be an Admin or Owner.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json