Delete test
Hard-deletes a draft test, or soft-deletes any non-active test (paused, suspended, incompatible, cancelled, or completed). Returns 409 if the test is active.
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
Responses
204
No Content
No content
404
Not Found
application/problem+json
409
Conflict
application/problem+json
429
Too Many Requests
application/problem+json
delete/api/public/v1/tests/{id}
DELETE /api/public/v1/tests/{id} HTTP/1.1
Host: app.shoplift.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?