Skip to content

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

POST
/xrpc/com.atproto.repo.deleteRecord
object
repo
required

The handle or DID of the repo (aka, current account).

string format: at-identifier
rkey
required

The Record Key.

string format: record-key
collection
required

The NSID of the record collection.

string format: nsid
swapCommit

Compare and swap with the previous commit by CID.

string format: cid
swapRecord

Compare and swap with the previous record by CID.

string format: cid

Success

object
commit
object
cid
required
string format: cid
rev
required
string format: tid

Bad Request

object
error
required
One of:
string
message
required
string