---
updatedAt: 2025-11-13T22:00:26.000Z
agentTools:
  projectIndex: https://coldstream.readme.io/llms.txt
---

# Delete boundary

Deletes a boundary by its ID

`:param int boundary_Id: `id of the boundary you want to delete

```python
def delete_boundary(self, boundary_Id):

    url = self.caseserver_url + "/boundaries/" + str(boundary_Id)

    response = requests.delete(url, headers=self.delete_header)

    if(response.ok): print("boundary deleted successfully \n", response.text, "\n")
    else: 
        logger.error(f"boundary deletion failed: {response.content}")
        raise Exception
```

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Case API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://case.coldstream.diabatix.com"
    }
  ],
  "paths": {
    "/boundaries/{boundaryId}": {
      "delete": {
        "tags": [
          "Boundary"
        ],
        "summary": "Delete boundary",
        "description": "Deletes a boundary by its ID",
        "parameters": [
          {
            "name": "boundaryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Bearer": {
        "type": "apiKey",
        "description": "JWT Authorization header using the Bearer scheme. \r\n\r\n Enter 'Bearer' [space] and then your token in the text input below.\r\n\r\nExample: \"Bearer 12345abcdef\"",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "Bearer": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```