Unassign test from campaign
Removes a test from the campaign. The test itself is not deleted. Fails with 404 if the test doesn't exist or isn't assigned to this campaign, or 422 if it's not an experiment.
delete
Authorizations
AuthorizationstringRequired
All requests require Authorization: Bearer sl_live_<your_api_key>. Generate a key from the Shoplift admin's API Keys settings page.
Path parameters
idstring · uuidRequired
testIdstring · uuidRequired
Responses
204
No Content
No content
403
Forbidden
application/problem+json
404
Not Found
application/problem+json
422
Unprocessable Entity
application/problem+json
429
Too Many Requests
application/problem+json
delete/api/public/v1/campaigns/{id}/tests/{testId}
DELETE /api/public/v1/campaigns/{id}/tests/{testId} HTTP/1.1
Host: app.shoplift.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?