rip.pds.account.deleteAccount

Delete an account the caller minted, ahead of its expiry. The identity is retired as it would have been on expiry.

Repository @pds.rip did:plc:w24v65i3bcsxk6mbbgfdukve namespace authority
Details · procedure
Kindprocedure
Authorityaccount.pds.rip
Indexed

Procedure

procedure · POST

Input

application/json

did

requiredstring · did

Output

application/json

deleted

requiredboolean

did

requiredstring · did

Errors

AccountNotFound

No live account with that DID was minted by the caller.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • Delete an actor's account with a token and password. Can only be called after requesting a deletion token. Requires auth.

  • Delete an account's data.

  • Delete a user account as an administrator.

  • Schedule the requesting viewer's account for deletion. Soft-deletes the profile and cascades soft-delete on every post, reply and like owned by the viewer in a single transaction. The viewer can log back in within 30 days and call restoreAccount to undo. After 30 days the account is hard-deleted irreversibly and the content is anonymised. See ADR-009 for the full retention lifecycle.

  • Hard-delete one of the authenticated account's API keys, removing the row entirely (no audit trail recovery afterwards). For most flows revokeApiKey is preferable; use this to clean up revoked or expired keys you no longer want listed. Scoped to the caller's DID. Idempotent: deleting an unknown key returns `deleted: false`.