# DeleteAll ParseObjects

**URL:** <https://community.parseplatform.org/t/deleteall-parseobjects/2781>\
**Category:** ParseSwift SDK\
**Created:** [July 6, 2022, 1:39pm UTC](https://community.parseplatform.org/t/deleteall-parseobjects/2781 "2022-07-06T13:39:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cbaker6](https://community.parseplatform.org/user_avatar/community.parseplatform.org/cbaker6/32/114_2.png) [@cbaker6](https://community.parseplatform.org/u/cbaker6)\
**Post date:** [July 7, 2022, 3:22am UTC](https://community.parseplatform.org/t/deleteall-parseobjects/2781/2 "2022-07-07T03:22:35Z")

</div>

The [playgrounds](https://github.com/parse-community/Parse-Swift/tree/main/ParseSwift.playground/Pages) demonstrate how to use most the SDKs functionality. DeleteAll is here:

> <https://github.com/parse-community/Parse-Swift/blob/b0bdf71dfe2890b44910c06382af98e17726fa96/ParseSwift.playground/Pages/1%20-%20Your%20first%20Object.xcplaygroundpage/Contents.swift#L334-L349>

Deleting a file is similar to the other SDKs and requires the masterKey which the [documentation states](https://parseplatform.org/Parse-Swift/release/documentation/parseswift/parsefile/delete(options:)-7ukf). This type of functionality should only be used server side. To use the Swift SDK for cloud code see here:

> [@Write Server-Side Cloud Code with the Swift SDK](https://community.parseplatform.org/t/write-server-side-cloud-code-with-the-swift-sdk/2769):
>
> Version 4.6.0 of the Swift SDK allows you to write Parse Cloud Code Functions and Triggers completely in Swift by taking advantage of Parse Webhooks. [https://github.com/parse-community/Parse-Swift/releases/tag/4.6.0](https://github.com/parse-community/Parse-Swift/releases/tag/4.6.0) Using the Swift SDK on the server-side allows you to send Push Notifications, create/modify schema’s, delete files, etc. To quickly get a Swift server that can connect to your nodejs Parse Server up and running quickly, fork the repo: Have fun writing Swift Cloud Code!

---

_[View the full topic](https://community.parseplatform.org/t/deleteall-parseobjects/2781)._
