---
title: "Provision provisions a new resource for a deployment.
If an existing resource matches the request, it will be returned without provisioning a new resource."
method: POST
path: "/v1/deployments/{deploymentId}/provision"
---

# Provision provisions a new resource for a deployment.
If an existing resource matches the request, it will be returned without provisioning a new resource.

`POST /v1/deployments/{deploymentId}/provision`

## Path parameters

- `deploymentId` string, required

## Request body

- object
  - `args` object — Arguments for the provisioner call.
  - `name` string — Name of the resource to provision. It forms a unique key together with deployment and type, which is used to de-duplicate provision requests.
  - `type` string — Type of resource to provision.

## Response `200`

A successful response.

- V1ProvisionResponse
  - `resource` V1ProvisionerResource
    - `args` object
    - `config` object
    - `deploymentId` string
    - `id` string
    - `name` string
    - `type` string

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/rilldata/apis/rill-admin-api.md) · [All operations](https://skmtc.net/rilldata/apis/rill-admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rilldata/rill-admin-api/versions/289a0ca9ce49/schema)
