---
title: "PUT /subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/fileContainers/{fileContainerId}"
method: PUT
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/fileContainers/{fileContainerId}"
tags: ["FileContainers"]
---

# PUT /subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/fileContainers/{fileContainerId}

`PUT /subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/fileContainers/{fileContainerId}`

Creates a new file container.

## Path parameters

- `fileContainerId` string, required

## Parameters

- `Deployment.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `Deployment.json#/components/parameters/ApiVersionParameter` — unresolved $ref

## Request body

- FileContainerParameters — Parameters for creating a new file container.
  - `properties` FileContainerBody — Body for creating a new file container.
    - `postCopyAction` 'None' | 'Unzip' — Specifies the file post copy action.
    - `sourceUri` string — Specifies The remote file location.

## Response `200`

OK

- FileContainer — unresolved $ref

## Other responses

- `202` — Accepted

---

[API](https://skmtc.dev/azure/apis/deploymentadminclient-4.md) · [All operations](https://skmtc.dev/azure/apis/deploymentadminclient-4/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/deploymentadminclient-4/revisions/7d6f9ea3e9e3/schema)
