com.atproto.repo.deleteRecord
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.",
"errors": [
{
"name": "InvalidSwap"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"collection": {
"description": "The NSID of the record collection.",
"format": "nsid",
"type": "string"
},
"repo": {
"description": "The handle or DID of the repo (aka, current account).",
"format": "at-identifier",
"type": "string"
},
"rkey": {
"description": "The Record Key.",
"format": "record-key",
"type": "string"
},
"swapCommit": {
"description": "Compare and swap with the previous commit by CID.",
"format": "cid",
"type": "string"
},
"swapRecord": {
"description": "Compare and swap with the previous record by CID.",
"format": "cid",
"type": "string"
}
},
"required": [
"repo",
"collection",
"rkey"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"commit": {
"ref": "com.atproto.repo.defs#commitMeta",
"type": "ref"
}
},
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.atproto.repo.deleteRecord",
"lexicon": 1
}
Metadata
- DID
-
did:plc:6msi3pj7krzih5qxqtryxlzw - CID
-
bafyreibwdxbyhuuljujl7g4ylwdso2x2ov6yv6nk3ext3sr7kjvvubkula - Indexed At
- 2026-02-18 18:57 UTC
- AT-URI
-
at://did:plc:6msi3pj7krzih5qxqtryxlzw/com.atproto.lexicon.schema/com.atproto.repo.deleteRecord
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
ooo.bsky.hds.deleteRecord procedure
-
rsvp.atmo.space.deleteRecord procedure
Delete a record from a space. Callers can delete their own records; the space owner can delete any record (via a separate admin path).
-
com.atproto.repo.createRecord procedure
Create a single new repository record. Requires auth, implemented by PDS.
-
com.atproto.repo.putRecord procedure
Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.
-
pub.chive.sync.deleteRecord procedure
Mark a record as deleted in Chive's index (owner or admin only)