Auto-disable department self-serve at opening (#323)

Auto-disable department self-serve at opening
This commit is contained in:
Jeppe B
2026-07-28 18:03:05 +02:00
committed by GitHub
parent 3c13892366
commit da0113e3ed
10 changed files with 541 additions and 70 deletions
+28
View File
@@ -4157,6 +4157,19 @@ paths:
properties:
enabled:
type: boolean
auto_deactivation:
type: object
required: [at, timezone, label]
properties:
at:
type: string
format: date-time
nullable: true
timezone:
type: string
example: Europe/Copenhagen
label:
type: string
'404':
$ref: '#/components/responses/NotFound'
put:
@@ -4189,6 +4202,21 @@ paths:
properties:
message:
type: string
enabled:
type: boolean
auto_deactivation:
type: object
required: [at, timezone, label]
properties:
at:
type: string
format: date-time
nullable: true
timezone:
type: string
example: Europe/Copenhagen
label:
type: string
'404':
$ref: '#/components/responses/NotFound'