Goals

Delete Goal

Permanently deletes a goal from a site by its ID. This action cannot be undone, and the goal stops counting conversions.

delete/api/sites/{site}/goals/{goalId}

Request

  • Base URL: https://app.onyxmetric.com
  • URL: https://app.onyxmetric.com/api/sites/{site}/goals/{goalId}
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter api_key
    • API key in cookie better-auth.session_token

Path parameters

integer required
OR
string required

Numeric OnyxMetric Site ID or string identifier.

goalIdstring required

goalId identifier.

Response

Successful response. Refer to the linked endpoint documentation for the response fields.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.