---
updatedAt: 2025-04-28T11:56:52.000Z
agentTools:
  projectIndex: https://developers.wingify.com/v2/llms.txt
---

# Delete a campaign goal

```json

[block:textarea]
{
  "text": "Request URI for Sub Account\n```\nDELETE /accounts/40505/campaigns/7/goals/2\n```",
  "sidebar": true
}
[/block]



[block:html]
{
  "html": "<div></div>\n\n<style></style>"
}
[/block]

```

Delete a campaign goal

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api",
    "version": "4"
  },
  "servers": [
    {
      "url": "https://app.wingify.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "token"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accounts/{account_id}/campaign/{campaign_id}/goals/{goal_id}": {
      "delete": {
        "summary": "Delete a campaign goal",
        "description": "",
        "operationId": "delete-a-campaign-goal",
        "parameters": [
          {
            "name": "account_id",
            "in": "path",
            "description": "Use 'current' keyword to refer to the Main Workspace or the Integer Workspace Id",
            "required": true,
            "schema": {
              "type": "string",
              "default": "current"
            }
          },
          {
            "name": "campaign_id",
            "in": "path",
            "description": "Campaign Id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "goal_id",
            "in": "path",
            "description": "Goal Id",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```