Module Cephalopod_models.Com_Atproto_Repo_DeleteRecord

lexicon "com.atproto.repo.deleteRecord"

def main

type main_input = {
  1. repo : string;
    (*

    The handle or DID of the repo (aka, current account). format: "AtIdentifier"

    *)
  2. collection : string;
    (*

    The NSID of the record collection. format: "Nsid"

    *)
  3. rkey : string;
    (*

    The Record Key. format: "RecordKey"

    *)
  4. swapRecord : string option;
    (*

    Compare and swap with the previous record by CID. format: "Cid"

    *)
  5. swapCommit : string option;
    (*

    Compare and swap with the previous commit by CID. format: "Cid"

    *)
}
val show_main_input : main_input -> Ppx_deriving_runtime.string
val main_input_to_value : main_input -> Cephalopod_dasl.Value.t
type main_output = {
  1. commit : Types.com_atproto_repo_defs_commitmeta option;
}
val show_main_output : main_output -> Ppx_deriving_runtime.string
val main_output_of_value : main_output Cephalopod_dasl.Value.Util.conv
val main_output_to_value : main_output -> Cephalopod_dasl.Value.t
type main_error = [
  1. | `InvalidSwap
]
val show_main_error : main_error -> Ppx_deriving_runtime.string

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