.dataset().row().delete()
.dataset(...).row(...).delete(): Promise<IDelete>
Delete a given row from a data set.
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
}
The following shows an example call to delete a row which has an id of 13
:
const api = new CloudTablesApi('sub-domain', ':apiKey');
let result = await api.dataset(':id').row(13).delete();
The resulting JSON structure is:
{
"success": true
}