XOMNI: Experience Omni-Channel

Last Updated: February 19, 2016

The API deletes specified device storage data.

Request

HTTP Method Resource URI
DELETE https://{tenantName}.api.xomni.com/company/logicaldevices/{deviceId}/storage?key={key}

URI Parameters

Parameter Name Description Type Conditions
deviceId Id of the device String
Key The filtering key for the device storage. String

Only related devices can clear their own device storage. If you're trying to delete spesific public device storage item using different licence, you have to specify device storage item key in request URI.

Request Headers

Header Field Name Description
Accept
Includes minor version header.
Sample: application/vnd.xomni.api-v4-0, */*
Authorization
Access or identity token taken from oauth APIs.
Sample: Bearer dc8f1dcdbe454da8a25621839a93569337522968019e4bd7becd6e01285444da

Response

The response does not contain any response entity if the status is successful.

Response Headers

Header Field Name Description
Content-Type
Content type of the response entity. The value of this header is always application/json.

Status Codes

A successful operation returns status code 202 (Accepted) for DELETE operations. Possible response status codes are as listed below:

Status Code Description
202 (Accepted) Succeeded.
400 (Bad Request) Device storage clear operation using different licence is not allowed. Other devices can delete only public device storage items in device storage by specifying device storage item key in request URI.
403 (Forbidden) Device storage item that you're trying to delete is private. Only related device can delete this item.
404 (Not Found) Specified device not found.