Departments

Create a new department

Changed on
post/departments

Request

Request body

namestring required

Response

Department created successfully

idinteger required
namestring required

Example response

{
  "id": 1,
  "name": "Management"
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • breaking

      the response property became optional for the status

    • info

      added the non-success response with the status