Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
Region ID
L7 policy ID
Body
UpdateL7Policy schema
Action
REDIRECT_PREFIX
, REDIRECT_TO_POOL
, REDIRECT_TO_URL
, REJECT
Human-readable name of the policy
The position of this policy on the listener. Positions start at 1.
Requests matching this policy will be redirected to the specified URL or Prefix URL with the HTTP response code. Valid if action is REDIRECT_TO_URL
or REDIRECT_PREFIX
. Valid options are 301, 302, 303, 307, or 308. Default is 302.
Requests matching this policy will be redirected to the pool with this ID. Only valid if action is REDIRECT_TO_POOL
.
Requests matching this policy will be redirected to this Prefix URL. Only valid if action is REDIRECT_PREFIX
.
Requests matching this policy will be redirected to this URL. Only valid if action is REDIRECT_TO_URL
.
A list of simple strings assigned to the resource.
Response
List of created tasks
List of task IDs
["d478ae29-dedc-4869-82f0-96104425f565"]