Skip to main content
This page documents an earlier version of the API client. For the latest version, see Delete an A/B test.
Required ACL: editSettings Deletes the A/B test from your application. and removes all associated metadata and metrics.

Examples

AnalyticsClient analytics = new AnalyticsClient("YourApplicationID", "YourWriteAPIKey");
analytics.DeleteABTest(42);

// Asynchronous
analytics.DeleteABTestAsync(42);

Parameters

abTestID
integer
required
The ID of the A/B test you want to delete.

Response

abTestID
integer
Generated Id of the A/B test.
index
string
Base index name for the A/B test.
taskID
integer
The task ID used with the waitTask method.

Response as JSON

This section shows the JSON response returned by the API. Each API client wraps this response in language-specific objects, so the structure may vary. To view the response, use the getLogs method. Don’t rely on the order of properties—JSON objects don’t preserve key order.
JSON
{
  "abTestID": 78,
  "taskID": 111887230,
  "index": "atis-abtest-default"
}
I