---
title: "Create an organization bundle from a form"
method: POST
path: "/api/v1/account/organizations/{id}/bundles/form"
tags: ["Bundles"]
---

# Create an organization bundle from a form

`POST /api/v1/account/organizations/{id}/bundles/form`

## Request

- Base URL: `https://pcp.example.com`
- URL: `https://pcp.example.com/api/v1/account/organizations/{id}/bundles/form`
- Auth: HTTP bearer

Validates the configuration against the protocol's draft form schema, required fields dropped, and stores it.

## Path parameters

- `id` string, required

## Request body

- SaveBundleFormRequest: SaveBundleFormRequest schema
  - `auto_create` boolean
  - `configuration` object
  - `environment` string, nullable
  - `integration_id` string, uuid
  - `protocol` string
  - `resource_classes` string[], nullable
  - `resource_subclasses` string[], nullable
  - `tags` string[]
  - `type` string

## Response `200`

OK

- SaveBundleFormResponse: SaveBundleFormResponse schema
  - `configuration` object
  - `id` string, uuid

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `401`: Missing, invalid or expired credentials
- `403`: The caller may not do this
- `500`: Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1.md) - [All operations](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/revisions/2ac049494a01?raw)
