Skip to main content
Set Entity NSFW
Sets the nsfw flag on an entity in a space, including entities authored by other users. Requires the caller to be a moderator or admin of the space.
NSFW is a separate axis from moderation. This endpoint writes the entity’s own nsfw field and never touches moderationStatus — labelling content does not hide it the way Moderate Entity with "remove" does. Effective NSFW is computed live on read, so a space’s own NSFW setting still applies on top of this flag.
Requires the entities bundle in addition to spaces.

Path Parameters

string
required
UUID of the space.
string
required
UUID of the entity to flag. Must belong to the space named in spaceId.

Body Parameters

boolean
required
true to flag the entity as NSFW, false to clear the flag.

Response

string
Confirmation message.
boolean
The flag as it now stands on the entity.

Error Responses

The entity exists but belongs to a different space.
See also: useSetSpaceEntityNsfw