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
    • message string

      An error message.

    • code string

      An error code to handle specific error responses.

    • data object

      Optionally, additional data to help handle the error.

      Additional properties are allowed.

  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
    • message string

      An error message.

    • code string

      An error code to handle specific error responses.

    • data object

      Optionally, additional data to help handle the error.

      Additional properties are allowed.

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