com.atproto.repo.deleteRecord

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

class atproto_client.models.com.atproto.repo.delete_record.Data

Bases: DataModelBase

Input data model for com.atproto.repo.deleteRecord.

field collection: Nsid [Required]

The NSID of the record collection.

field repo: AtIdentifier [Required]

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

field rkey: RecordKey [Required]

The Record Key.

field swap_commit: Cid | None = None

Compare and swap with the previous commit by CID.

field swap_record: Cid | None = None

Compare and swap with the previous record by CID.

class atproto_client.models.com.atproto.repo.delete_record.DataDict

Bases: TypedDict

collection: Nsid

The NSID of the record collection.

repo: AtIdentifier

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

rkey: RecordKey

The Record Key.

swap_commit: NotRequired[Cid | None]

Compare and swap with the previous commit by CID.

swap_record: NotRequired[Cid | None]

Compare and swap with the previous record by CID.

class atproto_client.models.com.atproto.repo.delete_record.Response

Bases: ResponseModelBase

Output data model for com.atproto.repo.deleteRecord.

field commit: models.ComAtprotoRepoDefs.CommitMeta | None = None

Commit.