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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis webpage outlines the process for enabling a SecurityAction, which is transitioned from a \u003ccode\u003eDISABLED\u003c/code\u003e to an \u003ccode\u003eENABLED\u003c/code\u003e state.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request to enable a SecurityAction is a \u003ccode\u003ePOST\u003c/code\u003e request directed to a specific URL, using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe URL requires a \u003ccode\u003ename\u003c/code\u003e path parameter specifying the SecurityAction to be enabled, in the format of organizations, environments, and security action.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty when enabling a SecurityAction, and a successful operation returns an instance of \u003ccode\u003eSecurityAction\u003c/code\u003e in the response.\u003c/p\u003e\n"],["\u003cp\u003eEnabling a SecurityAction requires OAuth scope authorization with \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]