// @generated by `cargo xtask codegen` — do not edit.
// source: lexicons/repo/delete.json (sh.tangled.repo.delete)
#![allow(clippy::all)]
pub const NSID: &str = "sh.tangled.repo.delete";
#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
pub struct Input {
/// DID of the repository owner
pub did: String,
/// Name of the repository to delete
pub name: String,
/// Rkey of the repository record
pub rkey: String,
}
/// Delete a repository
///
/// The response has no body; use [`crate::xrpc::send_unit`].
pub fn delete(
http: &reqwest::Client,
base: &str,
input: &Input,
) -> reqwest::RequestBuilder {
let rb = http.post(crate::xrpc::xrpc_url(base, NSID));
let rb = rb.json(input);
rb
}