Delete data from database (REST API)
Changed onDelete rows from your database using REST API.
Safety: Requires at least one filter to prevent accidental mass deletions
Security: Row-Level Security ensures you can only delete data you have access to
Note: If RLS blocks the delete, an empty result is returned (not an error)
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/databases/{databaseName}/query/delete
- Auth: HTTP bearer
Path parameters
Database name (unique within project, lowercase letters, numbers, and underscores only)
Request body
Example request
{
"table": "posts",
"filters": [
{
"column": "id",
"operator": "eq",
"value": "post-uuid"
}
]
}Response
Delete successful
Changes
- ▲
added the new path request parameter
databaseName - ▲
added the new required request property
- ▲
added the new required request property
- ▲
the request's body type changed from no type to
object - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ▲
- ▲
the request's body type changed from
objectto no type - ▲
the response's body type changed from
objectto no type for status - ▲
the response's body type changed from
objectto no type for status - ▲
the response's body type changed from
objectto no type for status - ▲
the response's body type changed from
objectto no type for status - ▲
the response's body type changed from
objectto no type for status - ▲
the response's body type changed from
objectto no type for status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ▲
removed the required property
from the response with the status - ●
deleted the
pathrequest parameterdatabaseName - ●
removed the request property
- ●
removed the request property
- ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status - ●
removed the optional property
from the response with the status
- ▲