---
title: "apply the distribution job of the config"
method: POST
path: "/api/v1/projects/{projectName}/distributions"
tags: ["project"]
---

# apply the distribution job of the config

`POST /api/v1/projects/{projectName}/distributions`

## Path parameters

- `projectName` string, required

## Request body

- V1CreateConfigDistributionRequest
  - `configs` V1NamespacedName[], required
    - `name` string, required
    - `namespace` string
  - `name` string, required
  - `targets` V1ClusterTarget[], required
    - `clusterName` string, required
    - `namespace` string

## Response `200`

OK

- unknown

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/kubevela/apis/kubevela-api-doc.md) · [All operations](https://skmtc.net/kubevela/apis/kubevela-api-doc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kubevela/kubevela-api-doc/versions/8e41615b25d5/schema)
