How can I delete archived data? Please help me delete all archived data
Builder content link
Builder public api key
8102a91244d54f29aa0462cc10eafd1e
How can I delete archived data? Please help me delete all archived data
Builder content link
Builder public api key
8102a91244d54f29aa0462cc10eafd1e
Hello @Kenz,
To delete the archived builder content entries, you can follow the below steps
published
and is
archived
.Alternatively, you can delete specific archived items via the API by sending a DELETE
request as shown below:
curl https://builder.io/api/v1/write/MODEL_NAME/ENTRY_ID \
-X DELETE \
-H 'Authorization: Bearer YOUR_PRIVATE_KEY'
# Example response
# {
# "message": "Success"
# }
References:
No, this is data in model. i have many record and i cant delete single 2k record
Hello @Kenz,
If you need to delete multiple data model entries or records in bulk, the only option available seems to be using the write API. You can either delete the entire content entry, or if you want to delete specific field data, you can use the write API PATCH/PUT request to update the custom fields in the data model.