Skip to content

CreateDomainActionRequest

A moderation action to take on a domain.

object
domain
required

The remote domain, such as spam.example; a U-label spelling such as 例え.jp is accepted. The action covers its subdomains.

string
>= 1 characters <= 253 characters
kind
required

suspend: no federation with the domain at all. limit: its posts stay off the public timelines and its accounts reach only their followers. reject_media: its media are not fetched. reject_reports: its reports are dropped. force_sensitive: its media are marked sensitive.

string
Allowed values: limit suspend reject_media reject_reports force_sensitive
public_comment
string
<= 5000 characters
private_note
string
<= 5000 characters
obfuscate
boolean
expires_in

The seconds the action lasts, at most ten years (315360000); omitted, it lasts until it is lifted.

integer
>= 1 <= 315360000

Example generated

{
"domain": "example",
"kind": "limit",
"public_comment": "example",
"private_note": "example",
"obfuscate": false,
"expires_in": 1
}

For LLMs and coding agents:llms.txt,llms-full.txt, llms-small.txt

Analytics on this site