> ## Documentation Index
> Fetch the complete documentation index at: https://www.activepieces.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Variable

> Delete a project variable

> [!WARNING]
>
> Deleting a variable does not update the flows that reference it. Any step that still uses `{{variables['NAME']}}` fails the next time it runs.


## OpenAPI

````yaml DELETE /v1/variables/{id}
openapi: 3.1.0
info:
  title: Activepieces Documentation
  version: 0.0.0
servers:
  - url: https://cloud.activepieces.com/api
    description: Production Server
security: []
externalDocs:
  url: https://www.activepieces.com/docs
  description: Find more info here
paths:
  /v1/variables/{id}:
    delete:
      tags:
        - variables
      description: Delete a project variable
      parameters:
        - schema:
            type: string
            pattern: ^[0-9a-zA-Z]{21}$
          in: path
          name: id
          required: true
      responses:
        '204':
          description: Default Response
          content:
            application/json:
              schema:
                not: {}
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: http
      description: Use your api key generated from the admin console
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.