DELETE
/
url-ab-tests
/
{testId}
Delete URL A/B Test
curl --request DELETE \
  --url https://jmpy.me/api/v1/url-ab-tests/{testId} \
  --header 'Authorization: Bearer <token>'
Permanently remove an A/B test and its associated variants. Analytics data for the test will also be deleted.

Path Parameters

testId
string
required
The short code (custom alias) of the short URL, or the UUID of the A/B test to delete. First priority is given to resolving the short code.

Request Examples

curl -X DELETE "https://jmpy.me/api/v1/url-ab-tests/test_url_789" \
  -H "Authorization: Bearer <token>"

List A/B Tests

View remaining tests

Create A/B Test

Start a new test

Response Examples

{
  "message": "A/B test deleted successfully"
}