POST
https://jmpy.me/api/v1
/
url-ab-tests
/
{testId}
/
pause
Pause URL A/B Test
curl --request POST \
  --url https://jmpy.me/api/v1/url-ab-tests/{testId}/pause \
  --header 'Authorization: Bearer <token>'
Temporarily stop a running test. Traffic splitting will stop, and the short URL will revert to its default behavior (usually redirecting to the primary URL or the first variant, depending on configuration) until the test is resumed.

Path Parameters

testId
string
required
The UUID of the A/B test to pause.

Request Examples

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

Response Examples

{
  "test": {
    "id": "test_url_789",
    "status": "paused"
  },
  "message": "A/B test paused"
}