---
title: "POST /v1/{+parent}/securityProfileGroups"
method: POST
path: "/v1/{+parent}/securityProfileGroups"
tags: ["projects"]
---

# POST /v1/{+parent}/securityProfileGroups

`POST /v1/{+parent}/securityProfileGroups`

Creates a new SecurityProfileGroup in a given project and location.

## Path parameters

- `parent` string, required

## Query parameters

- `securityProfileGroupId` string

## Request body

- SecurityProfileGroup — SecurityProfileGroup is a resource that defines the behavior for various ProfileTypes.
  - `etag` string — Output only. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
  - `dataPathId` string, uint64 — Output only. Identifier used by the data-path. Unique within `{container, location}`.
  - `customInterceptProfile` string — Optional. Reference to a SecurityProfile with the CustomIntercept configuration.
  - `createTime` string, google-datetime — Output only. Resource creation timestamp.
  - `description` string — Optional. An optional description of the profile group. Max length 2048 characters.
  - `customMirroringProfile` string — Optional. Reference to a SecurityProfile with the CustomMirroring configuration.
  - `labels` object — Optional. Labels as key value pairs.
  - `name` string — Immutable. Identifier. Name of the SecurityProfileGroup resource. It matches pattern `projects|organizations/*/locations/{location}/securityProfileGroups/{security_profile_group}`.
  - `updateTime` string, google-datetime — Output only. Last resource update timestamp.
  - `urlFilteringProfile` string — Optional. Reference to a SecurityProfile with the UrlFiltering configuration.
  - `threatPreventionProfile` string — Optional. Reference to a SecurityProfile with the ThreatPrevention configuration.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/networksecurity.md) · [All operations](https://skmtc.net/google/apis/networksecurity/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/networksecurity/versions/4afd54463fe6/schema)
