Creates an access level. The long-running operation from this RPC has a successful status after the access level propagates to long-lasting storage. If access levels contain errors, an error response is returned for the first error encountered.
HTTP request
POST https://accesscontextmanager.googleapis.com/v1/{parent=accessPolicies/*}/accessLevels
[[["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-07-17 UTC."],[[["\u003cp\u003eThis page details the process of creating an Access Level, which becomes available after propagating to long-lasting storage.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST method to a specific URL with a defined path parameter for the access policy, using gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires an instance of AccessLevel, as specified within the documentation.\u003c/p\u003e\n"],["\u003cp\u003eA successful operation will yield a response body containing a newly created instance of Operation.\u003c/p\u003e\n"],["\u003cp\u003eCreating an access level requires the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Method: accessPolicies.accessLevels.create\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates an [access level](/access-context-manager/docs/reference/rest/v1/accessPolicies.accessLevels#AccessLevel). The long-running operation from this RPC has a successful status after the [access level](/access-context-manager/docs/reference/rest/v1/accessPolicies.accessLevels#AccessLevel) propagates to long-lasting storage. If [access levels](/access-context-manager/docs/reference/rest/v1/accessPolicies.accessLevels#AccessLevel) contain errors, an error response is returned for the first error encountered.\n\n### HTTP request\n\n`POST https://accesscontextmanager.googleapis.com/v1/{parent=accessPolicies/*}/accessLevels`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains an instance of [AccessLevel](/access-context-manager/docs/reference/rest/v1/accessPolicies.accessLevels#AccessLevel).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/access-context-manager/docs/reference/rest/Shared.Types/Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]