Skip to main content

admin_takedown

Function admin_takedown 

Source
pub fn admin_takedown(
    client: &Client,
    base: &str,
    scope: &str,
    name: &str,
    notice: &str,
    token: &str,
) -> Result<UnpublishResponse, PublishError>
Expand description

Admin-only takedown of a published mem: same DELETE route as unpublish, but with the x-memstead-takedown header carrying the statement-of-reasons notice reference. The server selects the takedown path (deny-list the bytes, tombstone, burn the name) instead of an ordinary hard-delete, and refuses non-admins with 403.