Skip to main content
POST
Sets the date up to which the schedules of a team are locked.
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 lock the schedules of, which must be an enabled sector.

Example:

"872815618512410358"

lock_date
string<local-date> | null
required

Send an explicit null to unlock the team entirely. The date must be in the past, and no earlier than the day before the balances of the instance start.

Example:

"2019-11-11"

Response

204

Configuration lock date updated.