/<instance_id>/equalize/{equalize_id} - DELETE

/<instance_id>/equalize/{equalize_id} - DELETE

Method description

Delete a specific equalize for the client {instance_id}.

URI Parameters

None

Responses

200 - item has been deleted

Type: application/json

{ "created_on": "2017-08-08T15:27:54", "enabled": false, "extra": { "ebwar_id": 1410425211159, "notes": "", "user": "-" }, "fields": [ { "boost": 1, "field": "material" }, { "boost": 1, "field": "brand" }, { "boost": 8, "field": "name" }, { "boost": 1, "field": "condition" }, { "boost": 1, "field": "colour" }, { "boost": 5, "field": "categories" }, { "boost": 1, "field": "description" }, { "boost": 1, "field": "style" }, { "boost": 1, "field": "types" }, { "boost": 1, "field": "gender" } ], "id": "5989d87a1f3319000c83352a", "title": "Enhanced on Name followed by Categories", "updated_on": "2017-08-08T15:27:54" }
400 - the item cannot be removed because it is currently enabled

Type: application/json

 

 

{ "code": 400, "details": "Cannot delete an enabled Equalize. Please enable a different one first", "message": "Bad Request", "status": "error" }

 

401 - the user performing the action doesn't meet the security criteria

Type: application/json

{ "code": 401, "details": "The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn't understand how to supply the credentials required.", "message": "Unauthorized", "status": "error" }
404 - the instance or item doesn't exist

Type: application/json

{ "code": 404, "details": "Invalid id '123456'", "message": "Not Found", "status": "error" }