---
updatedAt: 2026-09-05T18:02:26.000Z
agentTools:
  projectIndex: https://docs.wodify.com/llms.txt
---

# Delete Class

Deletes a Class record by its ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Classes",
    "description": "Endpoints for all Class-related actions.",
    "version": "1"
  },
  "paths": {
    "/classes/{class_id}": {
      "delete": {
        "tags": [
          "Class"
        ],
        "description": "Deletes a Class record by its ID.",
        "operationId": "Delete_Class",
        "parameters": [
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "A valid API key. If you don't have one, please request one through the Automations → Integrations page.",
            "schema": {
              "type": "string",
              "default": ""
            }
          },
          {
            "name": "class_id",
            "in": "path",
            "required": true,
            "description": "Class Id",
            "example": 1234567891234567,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Class Data",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response_Delete_Class"
                }
              }
            }
          }
        },
        "x-explorer-enabled": false,
        "summary": "Delete Class"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.wodify.com/v1"
    }
  ],
  "components": {
    "schemas": {
      "Response_Delete_Class": {
        "description": "Class Data",
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 1234567891234567,
            "format": "int64",
            "description": "Class Id"
          },
          "is_success": {
            "type": "boolean",
            "example": false,
            "description": "True if the Class was deleted with success"
          },
          "wodify_validation_result": {
            "type": "string",
            "default": "",
            "description": "The purpose of this attribute is to save any UserException message, that is, and user friendly message that should be shown to the end user.\nAll methods should have, just like service actions:\n- an UserException with Abort Transaction = Yes, and a Log Error = No\n- an AllExceptions with Abort Transaction = Yes, and a Log Error = Yes\nWith this, any known issue that we don&#39;t consider an error log, like a business validation, we raise it to be catch in the UserException and we don&#39;t log it. Then, in the OnResponse of the full REST service, the Build_Response_JSON action will take care on the output json format.\nAn Exception will have the default formatted error message. If its an AllException, it will log the error so that we can fix it. If its a UserException, it will deliver as an error but it won&#39;t log it as an error.\nA success output will not have this attribute, the Build_Response_JSON will remove it from the final output."
          }
        },
        "required": [
          "id"
        ]
      }
    }
  }
}
```