{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DisableCallingLocationPostRequest",
  "title": "DisableCallingLocationPostRequest",
  "type": "object",
  "description": "Request body for disabling a calling location.",
  "example": {
    "locationId": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzk2ZjA0YjUwLTYxMWItNGViYy05ZGE0LTQwMzU4ODYxZTI4NQ",
    "locationName": "San Jose HQ",
    "forceDelete": false
  },
  "required": [
    "locationId"
  ],
  "properties": {
    "locationId": {
      "type": "string",
      "description": "Unique identifier for the calling location to disable."
    },
    "locationName": {
      "type": "string",
      "description": "Name of the calling location to disable."
    },
    "forceDelete": {
      "type": "boolean",
      "description": "Force delete is only applicable when calling features like call queues, hunt groups, virtual lines, etc  or a trunk that is not in use exists in the calling location and customer still wants to disable the calling location."
    }
  }
}