Delete a record [DELETE]

You can delete records in two different ways. A single delete by primary key or a bulk delete by providing multiple id's in the request body.

Example:

  • single delete by primary key

Request:

DELETE

https://<your-app-id>.app.jexia.com/rest/<your-dataset>/<id>

Send your Jexia token along in the Authorization header:

"Authorization" : "<your-jexia-token>"

Example:

  • bulk delete

Request:

DELETE

https://<your-app-id>.app.jexia.com/rest/<your-dataset>/


Body:

[
  {
    "id": "04bca006-cde8-47bc-a8eb-03c982e400de"
  },
  {
    "id": "a0d140fb-4256-4018-8a26-97f87ad2173f"
  }
]


For advanced users

Curl

curl -i -H "Accept: application/json" -H ": application/json" -H "Authorization:<jexia-auth-token>" -X DELETE  https://<project-id>.app.jexia.com/rest/<dataset>/<id>