Root definitions

RemoveActionJson

Permalink

Remove the Activity

Properties

authorIs

anyOf [Array<anyOf [AuthorCriteria, NamedCriteria<AuthorCriteria>, string]>, FilterOptionsJson<AuthorCriteria>]

If present then these Author criteria are checked before running the Check. If criteria fails then the Check will fail.

dryRun

boolean

If true the Action will not make the API request to Reddit to perform its action.

Default: false
enable

boolean

If set to false the Action will not be run

Default: true
itemIs

anyOf [Array<anyOf [SubmissionState, CommentState, NamedCriteria<TypedActivityState>, string]>, FilterOptionsJson<TypedActivityState>]

A list of criteria to test the state of the Activity against before running the check.

If any set of criteria passes the Check will be run. If the criteria fails then the Check will fail.

  • @examples [[{"over_18": true, "removed': false}]]
kind Required

string

The type of action that will be performed

Valid values: remove

name

string

An optional, but highly recommended, friendly name for this Action. If not present will default to kind.

Can only contain letters, numbers, underscore, spaces, and dashes

Pattern: ^[a-zA-Z]([\w -]*[\w])?$
note

string

(Optional) A mod-readable note added to the removal reason for this Activity. Can use Templating.

This note (and removal reasons) are only visible on New Reddit

reasonId

string

(Optional) The ID of the Removal Reason to use

Removal reasons are only visible on New Reddit

To find IDs for removal reasons check the "Removal Reasons" popup located in the CM dashboard config editor for your subreddit

More info on Removal Reasons: https://mods.reddithelp.com/hc/en-us/articles/360010094892-Removal-Reasons

spam

boolean

(Optional) Mark Activity as spam

Loading...

Editor and Validator