dots.v2.nfs.shares.byShare_id().access_points.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.nfs.shares.byShare_id(share_id).access_points.post(body: Access_point_request, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | Access_point_action_response>Description
To create a new access point on an NFS share, send a POST request to
/v2/nfs/shares/{share_id}/access_points.
A successful request will return the newly created access point and an action object.
The parent share must be in ACTIVE or INACTIVE status. Validation failures and
precondition errors (such as an ineligible share state) return 400 Bad Request.
Duplicate name or path conflicts return 409 Conflict.
Parameters
Path Parameters
share_idstring requiredExample:
baf4827c-6fa9-456f-9dbd-9ddfcacd0720The unique identifier of the NFS share.
Request Body
namestring requiredExample:
other-vpcThe name for the access point. Must be unique per share. Must be 2, 63
characters and match^[a-zA-Z0-9][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$.
The namedefaultis reserved (case-insensitive) for the implicit default
access point created with each share.pathstring requiredExample:
/other-vpcThe export sub-path. Must start with
/, must not be exactly/(reserved
for the default access point), must be at most 1024 characters, may contain
only alphanumerics,-,_,., and/, and must not contain..path
segments.accessPolicyobject requiredProvider-agnostic NFS access policy for an access point. Network CIDRs are
managed by attach, detach, and managed-access workflows and are not part of
this policy.Show child properties
anonuidinteger requiredExample:
65534UID used for squashed users. Currently only 65534 is supported.
anongidinteger requiredExample:
65534GID used for squashed users. Currently only 65534 is supported.
protocolsarray of strings requiredExample:
["NFS4", "NFS"]Allowed NFS protocols for this export.
squashConfigstring requiredThe squash mode applied to the access point export.
identityEnforcementEnabledboolean requiredExample:
falseWhether identity enforcement is enabled for this export.
vpcIdstring requiredExample:
3f34cdb2-1e4f-4100-b5c7-f55f2762085fRequired. The VPC this access point will be pinned to. A storage gateway is
provisioned (or reused) in this VPC, and the access point becomes mountable from
this VPC regardless of whether the parent share is currently attached to it.
Request Sample
Response Example
More Information
See /v2/nfs/shares/{share_id}/access_points in the API reference for additional detail on responses, headers, parameters, and more.