# If I run delete locally does it run beforeDelete on cloud?

**URL:** <https://community.parseplatform.org/t/if-i-run-delete-locally-does-it-run-beforedelete-on-cloud/3054>\
**Category:** Cloud Code\
**Created:** [November 13, 2022, 3:47pm UTC](https://community.parseplatform.org/t/if-i-run-delete-locally-does-it-run-beforedelete-on-cloud/3054 "2022-11-13T15:47:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimijon](https://community.parseplatform.org/user_avatar/community.parseplatform.org/jimijon/32/759_2.png) [@jimijon](https://community.parseplatform.org/u/jimijon)\
**Post date:** [November 13, 2022, 3:47pm UTC](https://community.parseplatform.org/t/if-i-run-delete-locally-does-it-run-beforedelete-on-cloud/3054/1 "2022-11-13T15:47:08Z")

</div>

I have started working on an iOS app. I want to delete a client and all associated records.

My question is simple. If I run delete locally does it fire the beforeDelete and afterDelete triggers on the cloud?

ex:  
self.client deleteInBackgroundWithBlock:^(BOOL succeeded, NSError \* \_Nullable error) {  
if (error) {
