---
updatedAt: 2025-08-27T17:32:22.000Z
agentTools:
  projectIndex: https://documentation.bunnyshell.com/llms.txt
---

# Delete a specific project variable.

Delete a specific project variable.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Bunnyshell Environments",
    "description": "Interact with Bunnyshell Platform",
    "termsOfService": "https://www.bunnyshell.com/bunnyshell-customer-agreement/",
    "contact": {
      "name": "API Support",
      "url": "https://www.bunnyshell.com/",
      "email": "osi+support@bunnyshell.com"
    },
    "version": "1.1.0"
  },
  "servers": [
    {
      "url": "api.environments.bunnyshell.com/",
      "description": ""
    }
  ],
  "paths": {
    "/v1/project_variables/{id}": {
      "delete": {
        "operationId": "project_variableDelete",
        "tags": [
          "project_variable"
        ],
        "responses": {
          "204": {
            "description": "project_variable resource deleted"
          },
          "404": {
            "description": "Resource not found"
          },
          "4XX": {
            "description": "Request Error",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/problem.generic"
                }
              }
            }
          }
        },
        "summary": "Delete a specific project variable.",
        "description": "Delete a specific project variable.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Resource identifier",
            "required": true,
            "deprecated": false,
            "schema": {
              "type": "string"
            },
            "style": "simple",
            "explode": false
          }
        ],
        "requestBody": {
          "description": "No Request Body",
          "content": {
            "application/json": {
              "schema": {}
            }
          },
          "required": false
        },
        "deprecated": false
      },
      "parameters": []
    }
  },
  "components": {
    "schemas": {
      "problem.generic": {
        "type": "object",
        "description": "Generic Error",
        "properties": {
          "title": {
            "type": "string"
          },
          "detail": {
            "type": "string"
          },
          "violations": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/problem.violation"
            }
          }
        }
      },
      "problem.violation": {
        "type": "object",
        "description": "A validation error",
        "properties": {
          "propertyPath": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      }
    },
    "securitySchemes": {
      "oauth": {
        "type": "oauth2",
        "description": "OAuth 2.0 password Grant",
        "flows": {
          "password": {
            "tokenUrl": "/token",
            "refreshUrl": "refresh",
            "scopes": {}
          }
        }
      },
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "Value for the X-Auth-Token header parameter.",
        "name": "X-Auth-Token",
        "in": "header"
      },
      "JWT": {
        "type": "apiKey",
        "description": "Value for the Authorization header parameter.",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "oauth": []
    },
    {
      "ApiKeyAuth": []
    },
    {
      "JWT": []
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```