Enable a SecurityAction. The state
of the SecurityAction after enabling is ENABLED
. securityActions.enable
can be called on SecurityActions in the state DISABLED
; SecurityActions in a different state (including `ENABLED) return an error.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/securityActions/*}:enable
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name
|
Required. The name of the SecurityAction to enable. Format: organizations/{org}/environments/{env}/securityActions/{securityAction} |
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of SecurityAction
.
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/cloud-platform