com.atproto.repo.deleteRecord

Domain Index: atproto.com

Crawl History

#main - procedure

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

Query Parameters

No fields defined

Request Body

Content Type: application/json

Data Fields

Name Type Details
collection string (required)

The NSID of the record collection.

Syntax Format: nsid

repo string (required)

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

Syntax Format: at-identifier

rkey string (required)

The Record Key.

swapCommit string

Compare and swap with the previous commit by CID.

Syntax Format: cid

swapRecord string

Compare and swap with the previous record by CID.

Syntax Format: cid

Response Body

Content Type: application/json

Data Fields

Name Type Details
commit ref

Reference: com.atproto.repo.defs#commitMeta

Errors

Name Description
InvalidSwap