API Reference – Delete

The Delete endpoint deletes a single item in Gyxi.

Here is the URL to call the Delete endpoint.

DELETE https://delete-[region].gyxi.com/[databaseId]/[type]/[partition]/[id]

[region] should be one of the available regions.

[databaseId] should be a guid of your choice and this is your database name and also your secret key.

[type] is the type of data you are saving, like a class name or table name.

[partition] is the key where you want to save the data – it could be the contents of a foreign key.

[id] is the id of this specific item.

Example

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://delete-germany.gyxi.com/5fdf17c4-1a01-40f7-9236-234fefb1c6de/employee/london/37

The response, if successful, is 200 OK. That’s it.