Required. The parent resource of the SecurityProfile. Must be in the format projects|organizations/*/locations/{location}.
Query parameters
Parameters
securityProfileId
string
Required. Short name of the SecurityProfile resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "security_profile1".
[[["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-06 UTC."],[[["\u003cp\u003eThis endpoint creates a new SecurityProfile within a specified organization and location using a POST HTTP request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required and specifies the organization and location where the SecurityProfile will be created, using the format \u003ccode\u003eprojects|organizations/*/locations/{location}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esecurityProfileId\u003c/code\u003e query parameter, which is mandatory, defines the short name of the SecurityProfile resource, following specific formatting rules.\u003c/p\u003e\n"],["\u003cp\u003eThe request body needs a SecurityProfile instance, while a successful response will return a newly created Operation instance.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: organizations.locations.securityProfiles.create\n\nCreates a new SecurityProfile in a given organization and location.\n\n### HTTP request\n\n`POST https://networksecurity.googleapis.com/v1beta1/{parent=organizations/*/locations/*}/securityProfiles`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [SecurityProfile](/firewall/docs/reference/network-security/rest/v1beta1/organizations.locations.securityProfiles#SecurityProfile).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/firewall/docs/reference/network-security/rest/Shared.Types/ListOperationsResponse#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)."]]