-[Delete record <a name="Delete-record"></a>](#delete-record)
-[Delete records <a name="Delete-records"></a>](#delete-records)
-[Patch api <a name="patch-api"></a>](#patch-api)
-[Replace Tags, ACLs and Legal Tags <a name="patch-api-metadata-bulk-replace"></a>](#patch-api-metadata-bulk-replace)
-[Add Tags, ACLs and Legal Tags <a name="patch-api-metadata-bulk-add"></a>](#patch-api-metadata-bulk-add)
...
...
@@ -456,6 +457,29 @@ curl --request POST \
```
</details>
### Delete records <a name="Delete-records"></a>
The API performs a logical deletion of batch of record (max size of a batch is 500 records). This operation can be reverted later by ingesting record with the same id one more time. The deleted (inactive) records will be removed from the index, and therefore will not be returned to the search result.
```
POST /api/storage/v2/records/delete
```
<details><summary>curl</summary>
```
curl --request POST \
--url '/api/storage/v2/records/delete' \
--header 'accept: application/json' \
--header 'authorization: Bearer <JWT>' \
--header 'content-type: application/json'\
--header 'Data-Partition-Id: common'
--data-raw '[
"tenant:type:unique-identifier",
"tenant:type:unique-identifier",
"tenant:type:unique-identifier"
]'
```
</details>
## Patch api <a name="patch-api"></a>
Bulk Update API allows the update of records metadata in batch. It takes an array of record ids with/without version