POST /guilds/{guild_id}/auto-moderation/rules

Changed on

Request

  • Base URL
    https://discord.com/api/v10
  • Auth
    API key in header Authorization

Request body

OR
OR
OR
OR

Response

200 response for create_auto_moderation_rule

OR
OR
OR
OR

Changes

    • breaking

      removed subschema #2: SPAM_LINK from the //////// request property oneOf list

    • breaking

      removed subschema #2: SPAM_LINK from the //////// request property oneOf list

    • breaking

      removed subschema #2: SPAM_LINK from the //////// request property oneOf list

    • breaking

      removed subschema #2: SPAM_LINK from the //////// request property oneOf list

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      added subschema #5: USER_PROFILE to the //////// response property oneOf list for the response status

    • breaking

      added subschema #5: USER_PROFILE to the //////// response property oneOf list for the response status

    • breaking

      added subschema #5: USER_PROFILE to the //////// response property oneOf list for the response status

    • breaking

      added subschema #5: USER_PROFILE to the //////// response property oneOf list for the response status

    • info

      added to the request body oneOf list

    • info

      added subschema #5: USER_PROFILE to the //////// request property oneOf list

    • info

      added subschema #5: USER_PROFILE to the //////// request property oneOf list

    • info

      added subschema #5: USER_PROFILE to the //////// request property oneOf list

    • info

      added subschema #5: USER_PROFILE to the //////// request property oneOf list

    • info

      removed from the response body oneOf list for the response status

    • info

      removed subschema #2: SPAM_LINK from the //////// response property oneOf list for the response status

    • info

      removed subschema #2: SPAM_LINK from the //////// response property oneOf list for the response status

    • info

      removed subschema #2: SPAM_LINK from the //////// response property oneOf list for the response status

    • info

      removed subschema #2: SPAM_LINK from the //////// response property oneOf list for the response status

    • info

      the /////////////// request property's maxLength was increased from 150 to 300

    • info

      the /////////////// request property's maxLength was increased from 150 to 300

    • info

      the /////////////// request property's maxLength was increased from 150 to 300

    • info

      the /////////////// request property's maxLength was increased from 150 to 300