Delete Records by ID

Record ids in a DELETE query parameter

Some HTTP clients and proxies remove the body of a DELETE request. The two v3 data endpoints that delete a list of records also read the record ids from a records query parameter. Repeat the parameter for each id.

To delete records:

DELETE /api/v3/data/{baseId}/{tableId}/records?records=12&records=13

To unlink linked records from one record:

DELETE /api/v3/data/{baseId}/{tableId}/links/{linkFieldId}/{recordId}?records=4&records=5

If a request has record ids in the body and in the query parameter, NocoDB uses both sets.

Last updated on

Latest product updates?See Changelog
Stay in the loop? Follow us onLinkedInLinkedInYouTubeYouTubeXX