Skip to main content

admin_denylist

Function admin_denylist 

Source
pub fn admin_denylist(
    client: &Client,
    base: &str,
    content_sha256: &str,
    reason: Option<&str>,
    token: &str,
) -> Result<DenylistResponse, PublishError>
Expand description

Admin-only: add a canonical-bytes SHA-256 to the content deny-list so those exact bytes can never be published. Refuses non-admins with 403.