security

Put Firewall Configuration

Changed on

Set the firewall configuration to provided rules and settings. Creates or overwrite the existing firewall configuration.

put/v1/security/firewall/config

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/security/firewall/config
  • Auth: HTTP bearer

Query parameters

projectIdstring required
teamIdstring
Example:team_1a2b3c4d5e6f7g8h9i0j1k2l

The Team identifier to perform the request on behalf of.

slugstring
Example:my-team-url-slug

The Team slug to perform the request on behalf of.

Request body

firewallEnabledboolean required
managedRulesobject
botIdEnabledboolean

Response

Changes

    • breaking

      added subschema #1 subschema #2 to the // response property oneOf list for the response status

    • warning

      added the new response_code enum value to the /////// response property for the response status

    • warning

      added the new response_code enum value to the //////// response property for the response status

    • info

      added the new response_code enum value to the request property //////

    • info

      added the new response_code enum value to the request property ///////

    • info

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

    • breaking

      added subschema #1 subschema #2 to the // response property oneOf list for the response status

    • warning

      added the new traffic_source enum value to the /////// response property for the response status

    • warning

      added the new traffic_source enum value to the //////// response property for the response status

    • info

      added the new traffic_source enum value to the request property //////

    • info

      added the new traffic_source enum value to the request property ///////

    • info

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