---
title: "Create a new NFS share"
method: POST
path: "/v2/nfs"
tags: ["DigitalOcean-public.v2-new_NFS"]
---

# Create a new NFS share

`POST /v2/nfs`

To create a new NFS share, send a POST request to `/v2/nfs`.

## Request body

- NfsRequest
  - `name` string, required — The human-readable name of the share.
  - `size_gib` integer, required — The desired/provisioned size of the share in GiB (Gibibytes). Must be >= 50.
  - `region` string, required — The DigitalOcean region slug (e.g., nyc2, atl1) where the NFS share resides.
  - `vpc_ids` string[], required — List of VPC IDs that should be able to access the share.

## Response `201`

A JSON response containing details about the new NFS share.

- NfsCreateResponse
  - `share` NfsResponse
    - `id` string, required — The unique identifier of the NFS share.
    - `name` string, required — The human-readable name of the share.
    - `size_gib` integer, required — The desired/provisioned size of the share in GiB (Gibibytes). Must be >= 50.
    - `region` string, required — The DigitalOcean region slug (e.g., nyc2, atl1) where the NFS share resides.
    - `status` 'CREATING' | 'ACTIVE' | 'FAILED' | 'DELETED', required — The current status of the share.
    - `created_at` string, date-time, required — Timestamp for when the NFS share was created.
    - `vpc_ids` string[] — List of VPC IDs that should be able to access the share.

## Other responses

- `400` — Size must be greater than or equal to 50Gib
- `401` — Authentication failed due to invalid credentials.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/revisions/cb3bf9b21459/schema)
