com.atproto.repo.delete Record

POST {{baseUrl}}/xrpc/com.atproto.repo.deleteRecord

This endpoint is part of the atproto PDS repository management APIs. Requests usually require authentication (unlike the `com.atproto.sync.` endpoints), and are made directly to the user's own PDS instance.*

To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.

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

Request Body

{"repo"=>"<at-identifier>", "collection"=>"<nsid>", "rkey"=>"<string>", "swapRecord"=>"<cid>", "swapCommit"=>"<cid>"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;commit&quot;:{&quot;cid&quot;:&quot;\u003ccid\u003e&quot;,&quot;rev&quot;:&quot;\u003cstring\u003e&quot;}}