Pure Storage Directories API

Important file system directories should be set up as managed directories. Managed directories can have policies attached to them. Managed directories differ from standard directories in that they provide space reporting and metrics.

Operations 32

GET /api/2.52/directories Pure Storage List Directories
POST /api/2.52/directories Pure Storage Create or Copy Directory
DELETE /api/2.52/directories Pure Storage Delete Managed Directories
PATCH /api/2.52/directories Pure Storage Modify a Managed Directory
GET /api/2.52/directories/groups Pure Storage List Group with Content in Directories
POST /api/2.52/directories/locks/nlm-reclamations Pure Storage Create NLM Reclamation
GET /api/2.52/directories/performance Pure Storage List Directory Performance Data
GET /api/2.52/directories/policies Pure Storage List Policies
GET /api/2.52/directories/policies/audit-file Pure Storage List Audit Policies Attached to a Directory
POST /api/2.52/directories/policies/audit-file Pure Storage Create a Membership Between a Directory and One or More Audit Policies
DELETE /api/2.52/directories/policies/audit-file Pure Storage Delete a Membership Between a Directory and One or More Audit Policies
GET /api/2.52/directories/policies/autodir Pure Storage List Auto Managed Directory Policies Attached to a Directory
POST /api/2.52/directories/policies/autodir Pure Storage Create a Membership Between a Directory with One or More Auto Managed Directory Policies
DELETE /api/2.52/directories/policies/autodir Pure Storage Delete a Membership Between a Directory and One or More Auto Managed Directory Policies
GET /api/2.52/directories/policies/nfs Pure Storage List NFS Policies Attached to a Directory
POST /api/2.52/directories/policies/nfs Pure Storage Create a Membership Between a Directory and One or More NFS Policies
DELETE /api/2.52/directories/policies/nfs Pure Storage Delete a Membership Between a Directory and One or More NFS Policies
GET /api/2.52/directories/policies/quota Pure Storage List Quota Policies Attached to a Directory
POST /api/2.52/directories/policies/quota Pure Storage Create a Membership Between a Directory and One or More Quota Policies
DELETE /api/2.52/directories/policies/quota Pure Storage Delete a Membership Between a Directory and One or More Quota Policies
GET /api/2.52/directories/policies/smb Pure Storage List SMB Policies Attached to a Directory
POST /api/2.52/directories/policies/smb Pure Storage Create a Membership Between a Directory and One or More SMB Policies
DELETE /api/2.52/directories/policies/smb Pure Storage Delete a Membership Between a Directory and One or More SMB Policies
GET /api/2.52/directories/policies/snapshot Pure Storage List Snapshot Policies Attached to a Directory
POST /api/2.52/directories/policies/snapshot Pure Storage Create a Membership Between a Directory with One or More Snapshot Policies
DELETE /api/2.52/directories/policies/snapshot Pure Storage Delete a Membership Between a Directory and One or More Snapshot Policies
GET /api/2.52/directories/policies/user-group-quota Pure Storage List User-group-quota Policies Attached to a Directory
POST /api/2.52/directories/policies/user-group-quota Pure Storage Create a Membership Between a Directory and One or More User-group-quota Policies
DELETE /api/2.52/directories/policies/user-group-quota Pure Storage Delete a Membership Between a Directory and One or More User-group-quota Policies
GET /api/2.52/directories/space Pure Storage List Directory Space Information
GET /api/2.52/directories/users Pure Storage List Users with Content in Directories
GET /api/1.5/directories Pure Storage Get Managed Directories

Documentation

Specifications

Code Examples

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/flasharray-rest-api-volume-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/flasharray-rest-api-host-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-structure/flasharray-rest-api-volume-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/flashblade-rest-api-file-system-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/flashblade-rest-api-bucket-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/flashblade-rest-api-array-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-structure/flashblade-rest-api-file-system-structure.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-structure/flashblade-rest-api-bucket-structure.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/pure1-cloud-api-array-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/pure1-cloud-api-metric-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-schema/pure1-cloud-api-alert-schema.json
📊
JSONStructure
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-structure/pure1-cloud-api-array-structure.json

Other Resources

🔗
SDKs
https://pypi.org/project/py-pure-client/
🔗
SDKs
https://github.com/PureStorage-OpenConnect/PureStorage.Pure1
🔗
SDKs
https://github.com/PureStorage-OpenConnect/powershell-toolkit-3
🔗
SDKs
https://github.com/PureStorage-OpenConnect/rest-client
🔗
Integrations
https://github.com/PureStorage-OpenConnect/terraform-provider-flash
🔗
Integrations
https://github.com/PureStorage-OpenConnect/pure-fa-openmetrics-exporter
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-ld/pure-storage-flasharray-rest-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/examples/flasharray-rest-api-volume-example.json
🔗
SDKs
https://github.com/PureStorage-OpenConnect/flashblade-powershell
🔗
SDKs
https://github.com/purestorage/purity_fb_python_client
🔗
Integrations
https://github.com/PureStorage-OpenConnect/pure-fb-openmetrics-exporter
🔗
Tools
https://github.com/PureStorage-OpenConnect/flashblade-mcp-server
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-ld/pure-storage-flashblade-rest-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/examples/flashblade-rest-api-file-system-example.json
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/examples/flashblade-rest-api-bucket-example.json
🔗
JSONLD
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/json-ld/pure-storage-pure1-cloud-api-context.jsonld
🔗
Examples
https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/examples/pure1-cloud-api-array-example.json

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pure-storage-directories-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

pure-storage-directories-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FlashArray REST Active Directory Directories API
  version: '2.52'
  description: 'Active Directory configuration authenticates users for NFS using Kerberos or SMB using Kerberos

    or New Technology LAN Manager (NTLM). Active Directory is also used to authorize users by

    mapping identities across the NFS and SMB protocols by using LDAP queries.

    '
servers:
- url: /
tags:
- name: Directories
  description: 'Important file system directories should be set up as managed directories. Managed directories

    can have policies attached to them. Managed directories differ from standard directories in that

    they provide space reporting and metrics.

    '
paths:
  /api/2.52/directories:
    get:
      tags:
      - Directories
      summary: Pure Storage List Directories
      description: 'Displays a list of directories, including those pending eradication.

        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/File_system_ids'
      - $ref: '#/components/parameters/File_system_names'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Ids'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      - $ref: '#/components/parameters/Total_only'
      - $ref: '#/components/parameters/Workload_ids'
      - $ref: '#/components/parameters/Workload_names'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryGetResponse'
    post:
      tags:
      - Directories
      summary: Pure Storage Create or Copy Directory
      description: 'Creates a managed directory at the specified path.

        The managed directory name must consist of a file system name prefix and a managed directory

        name suffix (separated with '':''). The suffix must be between 1 and 63 characters

        (alphanumeric and ''-'') in length and begin and end with a letter or number.

        The suffix must include at least one letter or ''-''.

        Set `names` to create a managed directory with the specified full managed directory name,

        or set `file_system_names` or `file_system_ids` in the query parameters and `suffix` in

        the body parameters to create a managed directory in the specified file system with the

        specified suffix. These two options are exclusive.

        The `add_to_policy_names` and `add_to_policy_ids` query parameters specify a list of policy

        names or ids, respectively, that will be applied to the newly created managed directory.

        These parameters are mutually exclusive.

        The `with_default_protection` query parameter specifies whether to use the container

        default protection configuration for the managed directory.

        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Add_to_policy_ids_directory'
      - $ref: '#/components/parameters/Add_to_policy_names_directory'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/File_system_ids'
      - $ref: '#/components/parameters/File_system_names'
      - $ref: '#/components/parameters/Ignore_usage'
      - $ref: '#/components/parameters/Names'
      - $ref: '#/components/parameters/With_default_protection_policy_directory'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectoryPost'
        required: true
        x-codegen-request-body-name: directory
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryResponse'
      x-codegen-request-body-name: directory
    delete:
      tags:
      - Directories
      summary: Pure Storage Delete Managed Directories
      description: 'Deletes one or more managed directories.

        To be deleted, a managed directory must be empty and not attached to any enabled export

        policies. Deleted managed directories cannot be recovered.

        The `ids` or `names` parameter is required, but cannot be set together.

        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Ids'
      - $ref: '#/components/parameters/Names'
      responses:
        '200':
          description: OK
          content: {}
    patch:
      tags:
      - Directories
      summary: Pure Storage Modify a Managed Directory
      description: 'Modifies a managed directory.

        To rename a managed directory, set `name` to the new name.

        The `ids` or `names` parameter is required, but cannot be set together.

        The `name` or `directory_name` parameter is required.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Ids'
      - $ref: '#/components/parameters/Names'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectoryPatch'
        required: true
        x-codegen-request-body-name: directory
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryResponse'
      x-codegen-request-body-name: directory
  /api/2.52/directories/groups:
    get:
      tags:
      - Directories
      summary: Pure Storage List Group with Content in Directories
      description: 'Displays a list of groups, that have content in specific directories.

        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/File_system_ids'
      - $ref: '#/components/parameters/File_system_names'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Group_quota_gids'
      - $ref: '#/components/parameters/Group_names'
      - $ref: '#/components/parameters/Group_sids'
      - $ref: '#/components/parameters/Ids'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoriesGroupsGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoriesGroupsGetResponse'
  /api/2.52/directories/locks/nlm-reclamations:
    post:
      tags:
      - Directories
      summary: Pure Storage Create NLM Reclamation
      description: 'Creates an NLM reclamation, which is a system-wide operation that affects all clients,

        so only one may be in progress at a time. Attempting to initiate reclamation while one is in

        progress will result in an error. When NLM reclamation is initiated, all NLM locks are deleted

        and client applications are notified that they can reacquire their locks within a grace period.

        '
      parameters:
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryLockNlmReclamationResponse'
  /api/2.52/directories/performance:
    get:
      tags:
      - Directories
      summary: Pure Storage List Directory Performance Data
      description: 'Displays real-time and historical performance data, real-time latency data, and average I/O

        sizes for each directory and as a total of all directories across the entire array.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/History_end_time'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Ids'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Perf_protocol_type'
      - $ref: '#/components/parameters/Perf_protocol_group'
      - $ref: '#/components/parameters/History_resolution'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/History_start_time'
      - $ref: '#/components/parameters/Total_item_count'
      - $ref: '#/components/parameters/Total_only'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryPerformanceGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DirectoryPerformanceGetResponse'
  /api/2.52/directories/policies:
    get:
      tags:
      - Directories
      summary: Pure Storage List Policies
      description: Displays a list of policies that are attached to directories.
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_names'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
  /api/2.52/directories/policies/audit-file:
    get:
      tags:
      - Directories
      summary: Pure Storage List Audit Policies Attached to a Directory
      description: 'Displays a list of audit policies that are attached to directories.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_names'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
    post:
      tags:
      - Directories
      summary: Pure Storage Create a Membership Between a Directory and One or More Audit Policies
      description: 'Creates a membership between a directory and one or more audit policies.

        Either the `member_ids` or `member_names` parameter is required, but they cannot

        be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectoryPolicyPost'
        required: true
        x-codegen-request-body-name: policies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberResponse'
      x-codegen-request-body-name: policies
    delete:
      tags:
      - Directories
      summary: Pure Storage Delete a Membership Between a Directory and One or More Audit Policies
      description: 'Deletes a membership between a directory and one or more audit policies.

        Either the `policy_ids` or `policy_names` parameter is required, but they cannot be

        set together.

        Either the `member_ids` or `member_names` parameter is required, but they cannot be

        set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_names'
      responses:
        '200':
          description: OK
          content: {}
  /api/2.52/directories/policies/autodir:
    get:
      tags:
      - Directories
      summary: Pure Storage List Auto Managed Directory Policies Attached to a Directory
      description: 'Displays a list of auto managed directory policies that are attached to directories.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_names'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
    post:
      tags:
      - Directories
      summary: Pure Storage Create a Membership Between a Directory with One or More Auto Managed Directory Policies
      description: 'Creates a membership between a directory with one or more auto managed directory policies.

        The `member_ids` or `member_names` parameter is required, but they cannot be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectoryPolicyPost'
        required: true
        x-codegen-request-body-name: policies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberResponse'
      x-codegen-request-body-name: policies
    delete:
      tags:
      - Directories
      summary: Pure Storage Delete a Membership Between a Directory and One or More Auto Managed Directory Policies
      description: 'Deletes a membership between a directory with one or more auto managed directory policies.

        The `policy_ids` or `policy_names` parameter is required, but they cannot be set together.

        The `member_ids` or `member_names` parameter is required, but they cannot be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_names'
      responses:
        '200':
          description: OK
          content: {}
  /api/2.52/directories/policies/nfs:
    get:
      tags:
      - Directories
      summary: Pure Storage List NFS Policies Attached to a Directory
      description: 'Displays a list of NFS policies that are attached to directories.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_fqnames'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberExportGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberExportGetResponse'
    post:
      tags:
      - Directories
      summary: Pure Storage Create a Membership Between a Directory and One or More NFS Policies
      description: 'Creates a membership between a directory and one or more NFS policies.

        The `member_ids` or `member_names` parameter is required but cannot be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectoryPolicyExportPost'
        required: true
        x-codegen-request-body-name: policies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberExportResponse'
      x-codegen-request-body-name: policies
    delete:
      tags:
      - Directories
      summary: Pure Storage Delete a Membership Between a Directory and One or More NFS Policies
      description: 'Deletes a membership between a directory and one or more NFS policies.

        The `policy_ids` or `policy_names` parameter is required, but cannot be set together.

        The `member_ids` or `member_names` parameter is required, but cannot be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_fqnames'
      - $ref: '#/components/parameters/Server_ids'
      - $ref: '#/components/parameters/Server_fqnames'
      responses:
        '200':
          description: OK
          content: {}
  /api/2.52/directories/policies/quota:
    get:
      tags:
      - Directories
      summary: Pure Storage List Quota Policies Attached to a Directory
      description: Displays a list of quota policies that are attached to directories.
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_names'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
    post:
      tags:
      - Directories
      summary: Pure Storage Create a Membership Between a Directory and One or More Quota Policies
      description: 'Creates a membership between a directory and one or more quota policies.

        The `member_ids` or `member_names` parameter is required, but cannot be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Ignore_usage'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectoryPolicyPost'
        required: true
        x-codegen-request-body-name: policies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberResponse'
      x-codegen-request-body-name: policies
    delete:
      tags:
      - Directories
      summary: Pure Storage Delete a Membership Between a Directory and One or More Quota Policies
      description: 'Deletes a membership between a directory and one or more quota policies.

        The `policy_ids` or `policy_names` parameter is required, but cannot be set together.

        The `member_ids` or `member_names` parameter is required, but cannot be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_names'
      responses:
        '200':
          description: OK
          content: {}
  /api/2.52/directories/policies/smb:
    get:
      tags:
      - Directories
      summary: Pure Storage List SMB Policies Attached to a Directory
      description: Displays a list of SMB policies that are attached to directories.
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_fqnames'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberExportGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberExportGetResponse'
    post:
      tags:
      - Directories
      summary: Pure Storage Create a Membership Between a Directory and One or More SMB Policies
      description: 'Creates a membership between a directory and one or more SMB policies.

        The `member_ids` or `member_names` parameter is required, but cannot be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DirectoryPolicyExportPost'
        required: true
        x-codegen-request-body-name: policies
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberExportResponse'
      x-codegen-request-body-name: policies
    delete:
      tags:
      - Directories
      summary: Pure Storage Delete a Membership Between a Directory and One or More SMB Policies
      description: 'Deletes a membership between a directory and one or more SMB policies.

        The `policy_ids` or `policy_names` parameter is required, but cannot be set together.

        The `member_ids` or `member_names` parameter is required, but cannot be set together.


        '
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Context_names'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_fqnames'
      - $ref: '#/components/parameters/Server_ids'
      - $ref: '#/components/parameters/Server_fqnames'
      responses:
        '200':
          description: OK
          content: {}
  /api/2.52/directories/policies/snapshot:
    get:
      tags:
      - Directories
      summary: Pure Storage List Snapshot Policies Attached to a Directory
      description: Displays a list of snapshot policies that are attached to directories.
      parameters:
      - $ref: '#/components/parameters/Authorization'
      - $ref: '#/components/parameters/XRequestId'
      - $ref: '#/components/parameters/Allow_errors'
      - $ref: '#/components/parameters/Context_names_get'
      - $ref: '#/components/parameters/Continuation_token'
      - $ref: '#/components/parameters/Destroyed'
      - $ref: '#/components/parameters/Filter'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Member_ids'
      - $ref: '#/components/parameters/Member_names'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Policy_ids'
      - $ref: '#/components/parameters/Policy_names'
      - $ref: '#/components/parameters/Sort'
      - $ref: '#/components/parameters/Total_item_count'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
        '207':
          description: 'Partial success. Some resources were returned, but there

            were also errors possibly preventing some resources from

            being returned.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PolicyMemberGetResponse'
    post:
      tags:
      - Directories
      summary: Pure Storage Create a Membership Between a Directory with One or More Snapshot Policies
      description: 

# --- truncated at 32 KB (116 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/pure-storage/refs/heads/main/openapi/pure-storage-directories-api-openapi.yml