Update a challenge action

Edit the specified challenge action, such as the name, type of challenge, or branding.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

string
required

Identifies the action.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
string
required
length between 1 and 100

The action's unique name.

boolean | null

Set to true to let the client use 100 percent CPU to resolve the challenge. If more humans than bots see this challenge, set to false.

integer
required
1 to 7200

Time between challenges. Set according to how long users interact with the resource you're protecting. A short period interrupts users more often.

string
enum
required

Specify the type of challenge. Choose GOOGLE_RECAPTCHA to make users solve a CAPTCHA puzzle. You can also choose AKAMAI_WEB_CRYPTO or AKAMAI_MOBILE_CRYPTO to make web requesting clients or mobile requesting clients solve a proof-of-work cryptographic challenge.

Allowed:
integer | null
≤ 120

Specify how many seconds the client machine should spend on the challenge. The longer the duration, the more difficult the challenge.

string | null

The CSS page containing your custom spinner. Specify the page's fully qualified URL or root-relative path, like http://example.com/pages/sample.html or /pages/sample.html.

string | null

The web page containing the static HTML snippet with your custom message. Specify the page's fully qualified URL or root-relative path, like http://example.com/pages/sample.html or /pages/sample.html.

string | null

The web page containing the static HTML snippet with your custom logo. Specify the page's fully qualified URL or root-relative path, like http://example.com/pages/sample.html or /pages/sample.html.

string | null

An optional description of the action.

string | null

If the challengeType is GOOGLE_RECAPTCHA, specify the Google reCAPTCHA secret key. The secret key authorizes communication between your site and the reCAPTCHA server.

string | null

If the challengeType is GOOGLE_RECAPTCHA, specify the Google reCAPTCHA site key. The site key invokes the reCAPTCHA service on your site or application.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
Response
Choose an example:
application/json
application/problem+json