Skip to main content

com.atproto.repo.deleteRecord

#main​

Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.

Input​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
repostring (at-identifier)-✅The handle or DID of the repo (aka, current account).
collectionstring (nsid)-✅The NSID of the record collection.
rkeystring (record-key)-✅The Record Key.
swapRecordstring (cid)-❌Compare and swap with the previous record by CID.
swapCommitstring (cid)-❌Compare and swap with the previous commit by CID.

Output​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
commitcom.atproto.repo.defs#commitMeta-❌-