Here is the detailed description of the “Delete” endpoint in Gyxi DB.
For a full overview of the API, please see the documentation here:
https://api.gyxi.com
—
The Delete endpoint deletes a single item in Gyxi.
Here is the URL to call the Delete endpoint.
DELETE https://germany-delete.gyxi.com/[databaseId]/[type]/[partition]/[id]
germany can be replaced by one of the available regions.
[databaseId] is the short name of your database that identifies your database.
[type] is the type of data you are saving, like a class name or table name.
[partition] is the actual partition where you find the data you want to delete. So if you partition by “department” and the department of the data you want to delete is “london” then you would write “london” as the partition.
[id] is the id of this specific item.
For example, maybe your company is a European company headquartered in Germany, so you choose to save your data there. Now you want to delete an Employee that used to work in the London department.
The URL might look like this:
DELETE https://germany-delete.gyxi.com/mydb/employee/london/37
The response, if successful, is 200 OK. That’s it.