dashboard
Save Rule
Create or update one rule. rule_id is client-supplied for a new rule ("new" asks the server to mint one), which keeps the dashboard from having to round-trip before it can render the row.
put/dashboard/bot/settings/{guild_id}/automod/rules/{rule_id}
Path parameters
guild_idinteger required
rule_idstring required
Request body
Response
Successful Response
Changes
Changed in 2 of the 7 revisions of this API.3
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 12 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○