Delete an individual object on the database:
DELETE https://ip-or-hostname/io/api/1/dataset/:id/:row?key=:apiKey
curl \
-X DELETE \
https://ip-or-hostname/io/api/1/dataset/:id/:row?key=:apiKey
This call will delete the identified row from a data set, where:
:apiKey
is the API key to use for access (see below):id
is the data set id (a UUID), per the /datasets
API. The data set ID can also be found in the Data set inspector of the Data tab for the data set.:row
is the row id (an integer) for the object to get.clientId
will be an integer or UUID which mean you'd need to look up the user to understand who made what changes. Note that while the clientId
should be unique per client and not change - the clientName
can change and will be updated to reflect the latest value given (e.g. if a user modifies their name in your own system).key
).role
but allows multiple roles to be specified.The returned JSON contains a success
property to indicate the status of the action and possibly an `error property if the request should fail, with a message explaining why it failed.
{
"success": boolean, // success indicator
"error": string // Error message. Please note that this is only returned if there is an error
}