Add Department
Adds a department. Shared rules: see Writing data.
- The body is closed: an unknown field is refused with
400"Unknown field."Counts toward your write budget. nameis required, at most 200 characters, with no special characters, and must be unique in the company:400onname, “A department with this name already exists.” Repeating the same request is harmless.- A plan with a department limit refuses more departments with
403. - There is no delete.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Request
This endpoint expects an object.
name
Department name. Unique in the company, no special characters.
Response
The department was added.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
