---
title: "Edit a sharing group blueprint"
method: POST
path: "/sharing_group_blueprints/edit/{sharingGroupBlueprintId}"
tags: ["Sharing Group Blueprints"]
---

# Edit a sharing group blueprint

`POST /sharing_group_blueprints/edit/{sharingGroupBlueprintId}`

## Path parameters

- `sharingGroupBlueprintId` union, required
  - union
    - string, nullable
    - string, uuid, nullable
  - string, uuid

## Request body

- object
  - `SharingGroupBlueprint` SharingGroupBlueprintEdit
    - `name` string
    - `rules` string — String encoded JSON. Supported operands are OR, AND and NOT. Supported filters, as single values or list, are: org_id, org_uuid, org_name, org_nationality, org_sector, org_type, sharing_group_id and sharing_group_uuid.

## Response `200`

Sharing group blueprint response

- object
  - `SharingGroupBlueprint` FullSharingGroupBlueprint
    - `id` string, nullable
    - `uuid` string, uuid
    - `name` string
    - `timestamp` string
    - `user_id` string
    - `org_id` string
    - `sharing_group_id` union
      - string, nullable
      - string, uuid, nullable
    - `rules` string

## Other responses

- `404` — Response when no valid sharing group blueprint was found
- `default` — Unexpected API error

## Changes

- **2025-12-11** `0a9c9382121a` — 3 breaking, 1 warning, 1 info
  - the `SharingGroupBlueprint/sharing_group_id` response property's maxLength was unset from `10` for the response status `200`
  - added `#/components/schemas/SharingGroupIntId, #/components/schemas/SharingGroupUuidId` to the `SharingGroupBlueprint/sharing_group_id` response property `oneOf` list for the response status `200`
  - the `SharingGroupBlueprint/sharing_group_id` response's property type/format changed from `string`/`` to ``/`` for status `200`
  - for the `path` request parameter `sharingGroupBlueprintId`, the type/format of property `oneOf[#/components/schemas/SharingGroupId]/` was changed from `string`/`` to ``/``
  - …1 more
- **2025-10-14** `b25b1478b901` — 1 info
  - endpoint added
- **2025-10-09** `208ef0cf2d79` — 1 breaking
  - api path removed without deprecation
- **2025-10-04** `96f22f03b534` — 1 info
  - endpoint added
- **2024-07-11** `7cd8b1880b11` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/misp/apis/misp-automation-api/changes/sharing_group_blueprints/edit/:sharingGroupBlueprintId/post.md)

---

[API](https://skmtc.dev/misp/apis/misp-automation-api.md) · [All operations](https://skmtc.dev/misp/apis/misp-automation-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/misp/misp-automation-api/revisions/88b34ff032a1/schema)
