---
updatedAt: 2025-06-23T22:28:03.000Z
agentTools:
  projectIndex: https://support.speedcurve.com/llms.txt
---

# Delete a URL

Deletes a URL and any test history associated with it.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "speedcurve-api",
    "version": "2.1.0"
  },
  "servers": [
    {
      "url": "https://api.speedcurve.com/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/urls/{url_id}": {
      "delete": {
        "summary": "Delete a URL",
        "description": "Deletes a URL and any test history associated with it.",
        "operationId": "delete-a-url",
        "parameters": [
          {
            "name": "url_id",
            "in": "path",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"success\",\n  \"message\": \"URL deleted.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "message": {
                      "type": "string",
                      "example": "URL deleted."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": \"error\",\n  \"message\": \"URL not found or it has been deleted.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "error"
                    },
                    "message": {
                      "type": "string",
                      "example": "URL not found or it has been deleted."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```