Send the request
HTTP URL : https://<your-instance>.yooi.io/api/store/object/id/{objectId}
HTTP method: DELETE
Read the response
{
"eventId": "{eventId}", // unique event identifier for the update
"objectId": "{deletedObjectId}", // id of the deleted object
"key": "{deletedObjectId}"
}Delete a country
- Send the request with the following command.
curl -X 'DELETE' \ 'https://<your-instance>.yooi.io/api/store/object/id/936793b5-ca4a-481d-8dcd-756221937e95' \ -H 'Authorization: Bearer {integrationToken}'
- The result of the API call contains the event ID. Object ID and key are the same as in the request.
{ "eventId": "1632753588659-0", "objectId": [ "936793b5-ca4a-481d-8dcd-756221937e95" ], "key": "936793b5-ca4a-481d-8dcd-756221937e95" }