social.grain.server.getAccountDeletionPlan
Plan the next part of deleting the viewer's grain data, for an app to delete at the viewer's own PDS: the deletes of one com.atproto.repo.applyWrites, of the viewer's records in every social.grain.* collection their PDS lists, read from the PDS rather than grain's index, so that records grain never indexed go too. Collections go in the order social.grain.server.deleteAccount deletes them, what hangs off a gallery before the gallery and the profile last, and one is exhausted before the next begins. The app commits each plan at the viewer's PDS and asks again; an empty plan means nothing is left, and the app then calls social.grain.server.deleteAccount with a service token. Requires auth.
Details · query
| Kind | query |
|---|---|
| Authority | server.grain.social |
| Commit rev | 3n2ui2e73kuxx |
| Indexed |
Query
query · GETOutput
application/jsonErrors
AuthenticationRequired
No account asks.
#delete
objectA record to delete from the viewer's repository, as com.atproto.repo.applyWrites#delete names it.
Properties
maxLength: 512
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
social.grain.server.deleteAccount
procedureDeletes every grain record from the asking account, then has grain forget it.
-
social.grain.unspecced.deleteAccount
procedureDelete the authenticated user's Grain account. Removes all of their Grain records from their PDS and clears supporting server-side state (mutes, preferences, push tokens, OAuth session). Reports and labels are preserved.
-
Plan the deletion of one of the viewer's galleries with what hangs off it, as social.grain.gallery.deleteGallery deletes it: its items, the photos they place that no other of the viewer's galleries does, those photos' EXIF, and the viewer's own favorite of it and comments on it, children first, then the gallery. What others wrote about it stays theirs. Answered as the deletes of one com.atproto.repo.applyWrites, for an app to commit at the viewer's PDS all or none, then call social.grain.sync.re
-
dev.knotless.deleteAccountData
procedureDeletes every knotless record from the asking account, then has the appview forget it.
-
social.colibri.beta.actor.deleteAccount
procedureErases the requesting user's Colibri data held by this AppView. This does not touch the user's repos, which only they control.