Skip to content

AutoDeletePolicy

The authenticated user’s automatic deletion of their own old posts. A post is deleted once it was published more than min_age_days days ago, unless one of the exceptions (the keep_ properties) keeps it.

object
enabled
required

Whether old posts are deleted.

boolean
min_age_days
required

How many days after its publication a post is deleted.

integer
>= 1 <= 3650
keep_pinned
required

Keep the posts pinned to the profile.

boolean
keep_bookmarked
required

Keep the posts that the user bookmarked.

boolean
keep_favourited
required

Keep the posts that the user favourited.

boolean
keep_media
required

Keep the posts with media attachments.

boolean
keep_polls
required

Keep the posts with a poll.

boolean
keep_articles

Keep the articles. Always given in an answer; omitted in a request, the saved value stays (on for a user who never saved a policy).

boolean
keep_visibilities
required

Keep the posts with these visibilities, from the widest audience to the narrowest; empty keeps none for their visibility.

Array<string>
<= 5 items
Allowed values: public local unlisted private direct
keep_min_boosts
required

Keep the posts boosted at least this many times; 0 keeps none for their boosts.

integer
<= 1000000
keep_min_favourites
required

Keep the posts favourited at least this many times; 0 keeps none for their favourites.

integer
<= 1000000

Example generated

{
"enabled": true,
"min_age_days": 1,
"keep_pinned": true,
"keep_bookmarked": true,
"keep_favourited": true,
"keep_media": true,
"keep_polls": true,
"keep_articles": true,
"keep_visibilities": [
"public"
],
"keep_min_boosts": 1,
"keep_min_favourites": 1
}

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

Analytics on this site