Delete org department

DELETE /orgs/departments/{departmentId}

Path parameters

  • departmentId string Required

    The department's unique document ID, i.e. org.departments[]._id.

Responses

  • Successful response

  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
DELETE /orgs/departments/{departmentId}
curl \
 -X DELETE https://open.api.missionx.ai/v1/orgs/departments/{departmentId}
Response examples (400)
{
  "message": "string",
  "code": "string",
  "data": {
    "key": null
  }
}
Response examples (500)
{
  "message": "string",
  "code": "string",
  "data": {
    "key": null
  }
}