Skip to main content
POST
Update self schedule date range
This endpoint is in preview: it may change without notice until it becomes part of a stable version.

Body

application/json
team_id
string<snowflake>
required

The team to restrict self-scheduling on, which must be an enabled sector.

Example:

"872815618512410358"

self_schedule_date_range
string<local-date-interval>
required

May be left open on either side; send an unbounded period to allow self-scheduling at any time. It cannot overlap the period the schedules of the team are hidden for, nor start on a day they are locked on.

Example:

"2019-11-11/2019-12-12"

Response

204

Configuration self schedule date range updated.