com.atproto.repo.deleteRecord
POSTcom.atproto.repo.deleteRecord
Delete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.
Request
- application/json
Body
required
repo at-identifierrequired
The handle or DID of the repo (aka, current account).
collection nsidrequired
The NSID of the record collection.
rkey stringrequired
The Record Key.
swapRecord cid
Compare and swap with the previous record by CID.
swapCommit cid
Compare and swap with the previous commit by CID.
Responses
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, InvalidSwap
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...