Delete campaign
Soft-deletes the campaign and unassigns all tests and drafts. Tests are not ended or modified.
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
403
Forbidden
application/problem+json
404
Not Found
application/problem+json
429
Too Many Requests
application/problem+json
delete/api/public/v1/campaigns/{id}
DELETE /api/public/v1/campaigns/{id} HTTP/1.1
Host: app.shoplift.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
No content
Last updated
Was this helpful?