Skip to main content
POST
Create a department

Autorisierungen

X-API-KEY
string
header
erforderlich

Body

application/json
name
string
erforderlich
custom_id
string | null
erforderlich
default_allowance
number
erforderlich
maximum_absent
number
erforderlich
approval_process
enum<string>
erforderlich
Verfügbare Optionen:
Linear_all_have_to_agree,
Linear_one_has_to_agree,
Parallel_all_have_to_agree,
Parallel_one_has_to_agree
manager_member
object[]
erforderlich
default_department_allowances
object[]
erforderlich

Antwort

Successful response

The response is of type string<uuid>.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$