Disable a SecurityAction. The state
of the SecurityAction after disabling is DISABLED
. securityActions.disable
can be called on SecurityActions in the state ENABLED
; SecurityActions in a different state (including DISABLED
) return an error.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/environments/*/securityActions/*}:disable
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name
|
Required. The name of the SecurityAction to disable. 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