Skip to content

deleteDepartment

DESTRUCTIVE

Delete department.

POST /api/v1/people/deleteDepartment
curl -X POST '<your-host>/api/v1/people/deleteDepartment' \
  -H 'Authorization: Bearer <api-key>' \
  -H 'Content-Type: application/json' \
  -d '{
    "departmentId": "string"
  }'

Parameters

ParameterType

Input schema

schema
{
  "type": "object",
  "properties": {
    "departmentId": {
      "type": "string"
    }
  },
  "required": [
    "departmentId"
  ]
}