[Integrations] Delete an Object
Request
HTTP URL :
https://<your-instance>.yooi.io/api/store/object/id/{object id}HTTP method:
DELETE
Response
        CODE
    
    {
 "eventId": {EVENT ID}, // unique event identifier for the update
 "objectId": {DELETED OBJECT ID}, // id of the deleted object
 "key": {DELETED OBJECT ID}
}
Example
Delete a country: France
        BASH
    
    curl -X 'DELETE' \
 'https://<your-instance>.yooi.io/api/store/object/id/936793b5-ca4a-481d-8dcd-756221937e95' \
 -H 'Authorization: Bearer yt_secret_ptAXBTZ38DzVeAR5rrl1y0S5AAUWbl0c'
The result of the API call contains the event ID. Object ID and key are the same than in the request.
        JSON
    
    {
  "eventId": "1632753588659-0",
  "objectId": [
    "936793b5-ca4a-481d-8dcd-756221937e95"
  ],
  "key": "936793b5-ca4a-481d-8dcd-756221937e95"
}