---
title: "Create protection profile"
method: POST
path: "/security/sifter/v3/profiles"
tags: ["Protection Profiles"]
---

# Create protection profile

`POST /security/sifter/v3/profiles`

Create protection profile

## Query parameters

- `client_id` integer, nullable — A positive integer ID

## Request body

- CreateProfileData
  - `name` string, required — Name of the protection profile
  - `template_id` integer, required — Identifier of the template to use
  - `fields` ProfileFieldIn[], nullable — List of field values for the profile
    - `value` unknown, required
    - `template_field_id` integer, nullable — Identifier of the template field
    - `name` string, nullable — Name of the field

## Response `201`

Successful Response

- ProtectionProfileResponse
  - `id` integer, required — Identifier for the protection profile
  - `client_id` integer, nullable, required — Identifier of the client owning this profile
  - `name` string, required — Name of the protection profile
  - `fields` ProfileField[], required — List of profile field values
    - `template_field_id` integer, required — Identifier of the template field
    - `value` unknown, required
  - `template` ProfileTemplateInProfile, required
    - `id` integer, required — Unique identifier of the template
    - `name` string, required — Name of the template
  - `created_at` string, date-time, required — Timestamp when the profile was created
  - `modified_at` string, date-time, nullable, required — Timestamp of the last modification
  - `networks` union[], required
    - union
      - string, ipv4network
      - string, ipv6network

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `422` — Validation Error

---

[API](https://skmtc.dev/g-core/apis/gcore-openapi.md) · [All operations](https://skmtc.dev/g-core/apis/gcore-openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/g-core/gcore-openapi/revisions/09e652815095/schema)
