pl-api
    Preparing search index...

    Interface AdminCreateDomainBlockParams

    interface AdminCreateDomainBlockParams {
        obfuscate?: boolean;
        private_comment?: string;
        public_comment?: string;
        reject_media?: boolean;
        reject_reports?: boolean;
        severity?: "silence" | "suspend" | "noop";
    }
    Index

    Properties

    obfuscate?: boolean

    Boolean. Whether to partially censor the domain when shown in public. Defaults to false

    private_comment?: string

    String. A private note about this domain block, visible only to admins.

    public_comment?: string

    String. A public note about this domain block, optionally shown on the about page.

    reject_media?: boolean

    Boolean. Whether media attachments should be rejected. Defaults to false

    reject_reports?: boolean

    Boolean. Whether reports from this domain should be rejected. Defaults to false

    severity?: "silence" | "suspend" | "noop"

    String. Whether to apply a silence, suspend, or noop to the domain. Defaults to silence