# Query regarding Deleated records

**URL:** <https://community.hubspot.com/t/query-regarding-deleated-records/104694>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [April 12, 2024, 11:13am UTC](https://community.hubspot.com/t/query-regarding-deleated-records/104694 "2024-04-12T11:13:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yasar](https://avatars.discourse-cdn.com/v4/letter/y/dc4da7/32.png) [@Yasar](https://community.hubspot.com/u/Yasar)\
**Post date:** [April 12, 2024, 11:13am UTC](https://community.hubspot.com/t/query-regarding-deleated-records/104694/1 "2024-04-12T11:13:41Z")

</div>

Is there any REST API endpoint present to retrieve deleted records in hubspot?.

If we restore the record, will archive flag will get affected?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [April 12, 2024, 6:16pm UTC](https://community.hubspot.com/t/query-regarding-deleated-records/104694/2 "2024-04-12T18:16:35Z")

</div>

Hi, @Yasar 👋 We can delete object records via the API, but restoring them still requires you to do it in-app from the recycling bin — [Restore deleted records](https://knowledge.hubspot.com/records/restore-deleted-records).

Best,

Jaycee
