---
updatedAt: 2026-04-20T19:43:46.000Z
agentTools:
  projectIndex: https://docs.trybadge.com/llms.txt
---

# Delete pass attribute

Permanently deletes a pass attribute and all associated pass data.
Cannot delete an attribute that is currently in use in the template.


# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Badge API",
    "version": "0"
  },
  "servers": [
    {
      "url": "https://api.trybadge.com/v0"
    }
  ],
  "security": [
    {
      "WorkspaceAuth": []
    }
  ],
  "tags": [
    {
      "name": "Pass Template"
    }
  ],
  "paths": {
    "/passTemplates/{passTemplateId}/passAttributes/{passAttributeName}": {
      "delete": {
        "operationId": "passTemplatePassAttributeDelete",
        "tags": [
          "Pass Template"
        ],
        "summary": "Delete pass attribute",
        "description": "Permanently deletes a pass attribute and all associated pass data.\nCannot delete an attribute that is currently in use in the template.\n",
        "parameters": [
          {
            "in": "path",
            "name": "passTemplateId",
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "required": true
          },
          {
            "in": "path",
            "name": "passAttributeName",
            "schema": {
              "$ref": "#/components/schemas/AttributeName"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Pass attribute successfully deleted.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400ErrorMessage"
          },
          "404": {
            "$ref": "#/components/responses/404NotFound"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "WorkspaceAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "AttributeName": {
        "type": "string",
        "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$"
      }
    },
    "responses": {
      "404NotFound": {
        "description": "The specified resource was not found."
      },
      "400ErrorMessage": {
        "description": "Invalid input was received.",
        "content": {
          "application/json": {
            "schema": {
              "type": "object",
              "required": [
                "message"
              ],
              "properties": {
                "message": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}
```