put
https://{youraccountname}.api-us1.com/api/3/eventTracking
Enable or disable event tracking.
Send the desired state as a boolean; the response echoes it. This replaces the API v2 tracking/event/status action, which took status=enable|disable as a form parameter and returned the account eventkey when enabling. The eventkey is not returned by v3 and no v3 endpoint exposes it - event tracking calls are made against the v1 track/event endpoint with the key from the account's tracking settings page.
A missing or non-boolean enabled attribute returns 422 with an error collection.
{
"eventTracking" {
"enabled": true
}
}{
"eventTracking": {
"enabled": true
}
}