Sep 20, 2024
Stop an A/B test
Stops an A/B test by its ID.
You can’t restart stopped A/B tests.
Usage
Required ACL:
editSettings
Copy
1
2
3
4
5
6
7
8
9
import com.algolia.client.api.AbtestingClient
import com.algolia.client.configuration.*
import com.algolia.client.transport.*
val client = AbtestingClient(appId = "ALGOLIA_APPLICATION_ID", apiKey = "ALGOLIA_API_KEY", region = "ALGOLIA_APPLICATION_REGION")
var response = client.stopABTest(
id = 42,
)
Did you find this page helpful?