security

Update Attack Challenge mode

Changed on

Update the setting for determining if the project has Attack Challenge mode enabled.

post/v1/security/attack-mode

Request

  • Base URL: https://api.vercel.com
  • URL: https://api.vercel.com/v1/security/attack-mode
  • Auth: HTTP bearer

Query parameters

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

OR

Response

attackModeEnabledfalse | true required
attackModeUpdatedAtnumber required

Changes

    • info

      added the non-success response with the status

    • breaking

      request body became required

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      added the new false enum value to the response property for the response status

    • warning

      added the new true enum value to the response property for the response status

    • info

      added subschema #1 subschema #2 to the request body oneOf list