Skip to Content

APIs & SDKs

Update Attack Challenge mode

Update Attack Challenge mode

AuthorizationbearerToken

Default authentication mechanism

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

POSThttps://api.vercel.com/v1/security/attack-mode

teamId

The Team identifier to perform the request on behalf of.

string
Optional
Option 1Option 2
Optional

Body

projectId

slug
string
Required
application/json

attackModeEnabled

attackModeActiveUntil

Required
boolean
number
Required

Response

200Success


attackModeEnabled

attackModeUpdatedAt

boolean

number

Required

Required

Errors

410Error

404Error

403You do not have permission to access this resource.

401The request is not authorized.

400One of the provided values in the request body is invalid.

This page is not in the current cross-link map.