Skip to main content
POST
/
groups#group-delete
Delete Group
curl --request POST \
  --url 'https://{region}.mixpanel.com/groups#group-delete' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "$token": "YOUR_PROJECT_TOKEN",
    "$group_key": "Company",
    "$group_id": "Mixpanel",
    "$delete": "null"
  }
]
'
1

Query Parameters

verbose
integer

If present and equal to 1, Mixpanel will respond with a JSON Object describing the success or failure of the tracking call. The returned object will have two keys: status, with the value 1 on success and 0 on failure, and error, with a string-valued error message if the request wasn't successful. This is useful for debugging during implementation.

Required range: 0 <= x <= 1

Body

application/json
Minimum array length: 1
$token
string
default:YOUR_PROJECT_TOKEN
required
$group_key
string
default:Company
required
$group_id
string
default:Mixpanel
required
$delete
string | null
default:null

Response

  • 1 - One or more objects provided are valid. This does not signify a valid project token or secret.
  • 0 - No data objects in the body are valid.

The response is of type enum<integer>.

Available options:
1,
0