FlashBlade REST API (2.4)

Download OpenAPI specification:Download

The operations and resources listed in this guide are compatible with version 2.0 of the FlashBlade REST API.

Transition Changes from REST 1.x to REST 2.0

In the development of FlashBlade REST 2.0, some changes occurred between REST 1.x and REST 2.0. Changes vary from endpoint strings to request parameters. See Table 1 for the corresponding endpoint changes from 1.x to 2.0. See Table 2 for global and new query changes for 2.0 endpoints. Refer to these changes if necessary to update your existing scripts to avoid process disruptions. Refer to the Pure Support site for REST API 1.x reference documentation.

Table 1. Endpoint changes between REST 1.x and REST 2.0

REST 1.x Endpoint REST 2.0 Endpoint
/admins /admins/api-tokens
/smtp /smtp-servers

Table 2. Query changes for REST 2.0

REST 2.0 Endpoints Parameter Changes from REST 1.x
Pagination Query Parameters Pagination Query Parameters
  • start changed to offset
  • token changed to continuation_token
Version string Supports targeting the latest version of a specific major release of the REST API. Example, /api/2.latest/<endpoint>
/admins/api-tokens Query Parameters
  • expose changed to expose_api_token
/arrays/performance Query Parameters
  • The protocol parameter accepts all as a value
/arrays/performance/replication Query Parameters
  • The type parameter accepts all as a value
Response Field
  • async changed to periodic
/array-connections/performance/replication Query Parameters
  • The type parameter accepts all as a value
Response Field
  • async changed to periodic
/directory-services/roles Query Parameters
  • names changed to role_names
  • The role_ids query parameter is now supported
/dns Query Parameters
  • The names and ids query parameters are now supported
/file-systems Query Parameters
  • The names query parameter is now supported
Request Body
  • The provisioned type supports an empty string ("") value as unlimited
  • The nfs sub-object does not support enabled as a value
  • The smb sub-object does not support acl_mode as a value
  • The name parameter is not supported
/file-system-snapshots Query Parameters
  • name changed to names for PATCH and DELETE
  • source_ids changed to owner_ids for GET
  • sources changed to source_names for POST
  • names_or_sources changed to names_or_owner_names for GET
/network-interfaces Request Body Properties
  • The service parameter does not support nfs as a value
/object-store-users Query Parameters
  • The full_access parameter defaults to false
/quotas-settings Query Parameters
  • The names and ids query parameters are now supported
/smtp-servers Query Parameters
  • The names and ids query parameters are now supported
/snmp-agents Query Parameters
  • The names and ids query parameters are now supported
Request Body Properties
  • The name query parameter is not supported
/support Query Parameters
  • The names and ids query parameter are now supported
/support/test Query Parameters
  • The test_type query parameter accepts all as a value
/target/performance/replication Query Parameters
  • The type query parameter accepts all as a value
Response Field
  • async changed to periodic

REST API Overview

The FlashBlade REST API provides simple interfaces for many Purity commands.

What is REST?

REpresentational State Transfer (REST) uses HTTP requests to interact with resources within the FlashBlade array. REST is an architectural style that describes the following constraints:

Clients manipulate resources through request methods, such as:

Method Description Example
GET List resources. GET file-systems
POST Create a resource. POST file-systems/fs1
PATCH Modify a resource. PATCH file-systems/fs1
DELETE Delete a resource. DELETE file-systems/fs1

Requests can include additional parameters, either in the URL or as JSON post data. For example, the names parameter is included in the following request to list a specific file system:


GET file-systems?names=fs1

Responses return a response code and data (represented in JSON). For example, the following GET file-systems?names=fs1 request returns a response code 200 OK and the attribute details for a file systems named "fs1":


>> GET file-systems?names=fs1
<< 200 OK
  {
      "name": "fs1",
      "id": "72hty443t-876t-hryt-434d-dd54321x321f",
      "created": 1501180187000,
      "destroyed": false,
      "fast_remove_directory_enabled": false,
      "snapshot_directory_enabled": false,
      "destroyed": false,
      "time_remaining": null,
      "nfs": {
         "rules": "*(ro,root_squash)",
         "v3_enabled": true,
         "v4_1_enabled": false
      },
      "smb": {
         "enabled": false
      },
      "http": {
      "enabled": false
      },
      "provisioned": 50000,
         "space": {
         "virtual": 0,
         "unique": 0,
         "snapshots": 0,
         "data_reduction": null,
         "total_physical": 0
      }
  }
  • Stateless. The necessary state to handle a request is contained in the request itself.

  • Cacheable. The responses must implicitly or explicitly define themselves as cacheable.

  • Client-Server. The uniform interface creates separation between client and server. Clients can be more portable, servers do not need to know anything about user interface or state.

  • Layered System. A client cannot tell if it is connected directly to the server; intermediary servers can be used to improve scalability or enforce security policies.

Pure Storage REST API

The FlashBlade REST API provides simple interfaces for many Purity commands.

In the following example, the Purity CLI command purefs list returns the attributes for the file systems on the array:


$ purefs list fs1
Name     Size     Used     Created                     Protocols
fs1      64T      0.00     2017-06-22 19:44:17 PDT     nfs

The equivalent REST API request GET https://pure01.example.com/api/[VERSION]/file-systems produces the same results:


>> GET https://pure01.example.com/api/[VERSION]/file-systems?names=fs1
<< 200 OK

  {
     "name": "fs1",
     "id": "72hty443t-876t-hryt-434d-dd54321x321f",
     "created": 1501180187000,
     "destroyed": false,
     "fast_remove_directory_enabled": false,
     "snapshot_directory_enabled": false,
     "destroyed": false,
     "time_remaining": null,
     "nfs": {
        "rules": "*(ro,root_squash)",
        "v3_enabled": true,
        "v4_1_enabled": false
     },
     "smb": {
        "enabled": false
     },
     "http": {
        "enabled": false
     },
     "provisioned": 70368744177664,
     "space": {
        "virtual": 0,
        "unique": 0,
        "snapshots": 0,
        "data_reduction": null,
        "total_physical": 0
     }
  }

REST Authentication and Authorization

The REST API uses authentication tokens instead of credentials to create sessions. Pure Storage supports two methods for creating sessions, an API token generated by the FlashBlade or OAuth 2.0 token exchange authorization grant and JSON Web Tokens (JWTs) to authenticate to the REST API. In the following sections, we will go over the procedure for generating and using both types of tokens.

Authorization

Authorization determines what the client is permitted to do within a REST session.

If Purity is integrated with a directory service, such as Microsoft Active Directory or OpenLDAP, the REST service leverages role-based access control (RBAC) to determine permission levels. In other words, the roles that are assigned to the users in a directory service are the same roles that are used in Purity and in the REST API.

Once you have created a REST API session, the requests that the client is authorized to make depend on the role of the user associated with the API token (as array administrator, storage administrator, operations administrator, or read-only user). In an OAuth session the user's role is checked against the API client's max_role and the privilege of the lesser of the two roles is applied.

The integration of RBAC in the REST API with directory services is dynamic. The API token permissions are integrated with the Active Directory permissions. Changes made to a user's Active Directory permissions affect the associated API token permissions.

For example, if a user is moved to a different directory services group and the permission level changes from read-only user to storage administrator, the associated API token permissions change as well. Permission changes made in the directory server are cached on the array and may take 30 minutes to affect the API token and OAuth.

Authenticating with REST API Tokens

The REST API accepts API tokens generated from the array or OAuth access tokens created by an authorized server.

API tokens are used to securely create REST API sessions. By using API tokens to authenticate, scripts do not have to expose usernames and passwords. The Purity username and password are required initially to create the API token.

API tokens are unique to the Purity user for whom it was created. Each Purity user can generate and view only their own API token. Once created, an API token is valid until it expires, deleted, or recreated.

After obtaining an API token, clients can create REST API sessions and start sending requests. Since REST API service sessions are completely separate from Purity GUI sessions, REST requests cannot be accessed through the Purity GUI.

API token management does not affect Purity usernames and passwords. For example, invalidating an API token does not invalidate the Purity username or password that was used to create the token. Likewise, changing the Purity username or password does not affect the API token.

Generating an API Token

The REST API uses authentication tokens to create sessions. All Purity users can generate their own API tokens.

Generate an API token through the CLI (pureadmin create --api-token).

Once generated, the API token is valid until it expires or is deleted or recreated. It is a best practice to set an expiration period when creating an API token for security purposes.

Creating a REST Session with an API Token

After the API token has been generated, use the token to create a REST session.

To create a REST session, the POST https://server.example.com/api/login request and API token header are required. The following example displays the creation of a REST session:

>> POST https://pure01.example.com/api/login
Request headers: api-token: "T-e7e551be-fe5d-4669-baf5-670cd8ea0560"
<< 200 OK
username: "pureuser"
Response headers: x-auth-token: "52a8163a-803b-475b-9c53-f99f6e7f4c22"

Use the returned x-auth-token header on all REST requests during this session by including it in the headers of the request.

The session is valid until it is ended or experiences 30 minutes of inactivity.

Authenticating with OAuth

Getting an OAuth access token begins with using the public key of a key pair to create an API client on the FlashBlade array. Afterward, an encoded JSON Web Token (JWT) that is signed with the corresponding private key can be exchanged for an access token.

Creating an API Client

Generate an SSH key pair (Public Key) if you do not already have one.

Create an API Client on the array.

pureapiclient create --max-role <role> --access-token-ttl <ttl> <API-CLIENT>
  • --max-role: Array roles which dictate the amount of privilege a user has. Valid role values include: array_admin, storage_admin, ops_admin, and readonly.
  • --access-token-ttl: Specify the access tokens time to live, which is the amount of time the token is valid for use. Default time to live is 1 day.
  • API-CLIENT: The name for the API client you are creating.

Enter the API client public key and press Enter then press Ctrl + D.

Enable the API Client. The API client is disabled by default and must be enabled for use.

pureapiclient enable <API-CLIENT>

Generating an OAuth Access Token

Access tokens can be generated using a Python script or Postman.

Access Token using Postman

In Postman, set up the token exchange request:

POST https://server.example.com/oauth2/1.0/token

Header:

  • Content-Type: application/x-www-form-urlencoded

Body:

  • Select x-www-form-urlencoded
  • grant -type: urn:ietf:params:oauth:grant-type:token-exchange
  • subject_token: <Encoded_JWT_Token>
  • subject_token_type: urn:ietf:params:oauth:token-type:jwt

Tests:

const body = pm.response.json();
tests["access_token"] = body.hasOwnProperty("access_token");
var stringed = JSON.stringify(body);
var jsonData = JSON.parse(stringed);
postman.setEnvironmentVariable("bearer_token", "Bearer " + jsonData["access_token"]);

The access token returned is used in Postman for REST 2.x API sessions. Insert the Bearer access token in the Header:

Authorization: {{bearer_token}}"

Python Script Access Token

To use a Python script to generate an access token, download this Python script and use the following syntax:

python3 fa2_token_factory.py <api_client_id> <api_key_id> <api_client_name> <api_username>
 <flashblade_host_or_ip> <path_to_private_key_file>

Example script input:

python3 fa2_token_factory.py 9012907e-28fe-4019-86ab-664e1d47fb36 48da0809-be32-4a3b-962f-f188c232ab30
 MySecondClient pureuser vm-johndoe /Users/johndoe/.ssh/fa20.pem

Example script output:

Access token for MySecondClient:

eyJraWQiOiJnbUdMYkRQU1ZMOVRBY3hNTEhNVXc4QktiUkpsIiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ
eyJhdWQiOiI5MDEyOTA3ZS0yOGZlLTQwMTktODZhYi02NjRlMWQ0N2ZiMzYiLCJzdWIiOiJwdXJldXNlciIsInJvbGUiOiJhcnJhe
V9hZG1pbiIsImFwaWNsaWVudC1yb2xlIjoicmVhZG9ubHkiLCJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjkwMDAiLCJpYXQiOjE1Nj
cwMzkzMjMsImV4cCI6MTU2NzEyNTcyMywianRpIjoiMzJkM2JjMjEtZGM4My00NmZiLWE0ZTEtNzk3NjNhMjgxZWZlIn0.
NKNE-5FSrZdeFFUb0k12CFQlfe0DpZMuWnhZ8ehWJhZf37FeydX9FEbLVUZnWuoiOlg6MucuMYX6gO-8xKf8ovid8vkqmTEdhaT66
dQvoZIyu-FEke01A2IVi18maYX3oTuwPky2c9fruaFE2a4s1YAUG5lCeG1ZyHxjiM1wRvZX_iHbe

The access token returned is used in your script/Postman/program.

Important: The py-pure-client Python SDK accepts similar parameters and automatically takes care of renewing expired tokens.

Submitting REST API Requests

REST API requests can be performed within a REST session.

Each REST API request is comprised of a complete URL. The complete URL used to make a Purity//FB REST request includes the following components:

  • Method (GET, POST, PATCH, or DELETE)
  • Purity array
  • REST API version
  • URI

For example, the following request lists all file systems and their attributes:

GET https://pure01.example.com/api/[VERSION]/file-systems

Some REST API requests include additional parameters.

Parameters for GET and DELETE methods may only allow query parameters in the URL. For example, the following request, with names specified as a query parameter, lists a specific file system (named "fs1"):

GET https://pure01.example.com/api/[VERSION]/file-systems?names=fs1

All other methods, such as POST and PATCH may be specified as JSON body requests or query parameters. Refer to the [http://www.json.org/] website for more information about the JSON interchange format.

The following are examples of how different data types are formatted in JSON:

Data Type Examples
boolean {"enabled": true}
object {"smb": {"enabled": true}}
list {"items": [{"name":"fs1"...} {"name": "fs2"...}]
number {"per_day": 12}
string {"domain": "example.com"}

Each REST API request returns a response code. Successful requests return the response code 200 OK. Scripts must be prepared to handle responses with codes other than 200 OK.

Refer to the Response Codes table for a description of each response code.

Invalidating a REST Session

A REST session using an API token method is valid until it is ended (invalidated) or experiences 30 minutes of inactivity. REST sessions using an OAuth access token method ends after the time to live settings on the --access-token-ttl option expires or after the 24 hour time to live default setting.

To manually invalidate an API token REST session, send the following request:

>> POST https://pure01.example/api/logout
Request headers: x-auth-token: "52a8163a-803b-475b-9c53-f99f6e7f4c22"
<< 200 OK

Response Codes

The FlashBlade REST API returns the following HTTP response status codes for the GET, POST, PATCH, and DELETE operations:

Code Description
200 OK The request is successful.
400 BAD REQUEST The request includes an invalid action or invalid or missing data.

Refer to the REST API response for more information.

401 UNAUTHORIZED The REST API session has not been created or has expired.

Create a new session.

403 FORBIDDEN The request is valid, but the client is not authorized to perform the action.

For example, a read-only client is not allowed to create file systems.

404 NOT FOUND The URI is not valid.
405 METHOD NOT ALLOWED The method is not valid for the URI specified.

Enter a GET, POST, PATCH, or DELETE method that is valid for the URI specified.

450 VERSION NOT SUPPORTED The request is not valid for the REST API version specified.
500 SERVER ERROR The request generated an internal error.

Contact Pure Storage Support for help.

Sorting, Filtering, and Pagination

When submitting GET requests that return a large amount of data, include filtering, sorting, and pagination query parameters to help you better manage the results.

Sorting

The sort query parameter returns the response objects of a GET request in the order specified. Sorting can be performed on any of the fields in the response, and the response objects can be sorted in ascending or descending order. To search for nested field names, use a period (.) to indicate a nested object. For example, nfs.enabled and nfs.rules.

Syntax

?sort=field_name

field_name

Name of the field to sort. field_name can be any of the fields in the response. To sort in descending order, append the minus sign (-) to the field name. To sort on multiple field names, list the field names as comma-separated values.

Examples

Example 1: Get a list of all file systems sorted in ascending order by the file system's name.

GET https://pure01.example.com/api/[VERSION]/file-systems?sort=name

Example 2: Get a list of all file systems sorted in descending order name.

GET https://pure01.example.com/api/[VERSION]/file-systems?sort=name-

Example 3: Get a list of all file systems sorted in descending order by file system size, and then sorted in ascending order by file system name.

GET https://pure01.example.com/api/[VERSION]/file-systems?sort=provisioned-,name

Filtering

The filter query parameter narrows down the results of a GET request to only the response objects that satisfy the filter criteria.

Filtering with Operators

Pure Storage REST API filter queries support common comparison operators.

Syntax

?filter=field_name<operator>field_value

  • field_name: Name of the field on which to create the filter. The field_name can be any of the fields in the response.

  • operator: Type of filter match used to compare field_name to field_value. Filters support the following operators:

Operator Description Examples
!= Does not equal Get a list of all file systems with file system names that do not include fs1 /file-systems?filter=!='*fs1*'
< Less than Get a list of all file systems that are less than 100 gigabytes in size.
/file-systems?filter=provisioned<107374182400
> Greater than Get a list of all file systems that are greater than 100 gigabytes in size.
/file-systems?filter=provisioned>107374182400
Get a list of all file systems that were created after 2019-0401T23:15:08Z.
/file-systems?filter=created>'2019-04-01T23:15:08Z'
<= Less than or equal to Get a list of all file systems that are less than or equal to 100 gigabytes in size.
/file-systems?filter=provisioned<=107374182400
Get a list of all file systems that were created on or before 2019-0401T23:15:08Z.
/file-systems?filter=created<='2019-04-01T23:15:08Z'
>= Greater than or equal to Get a list of all file systems that are greater than or equal to 100 gigabytes in size.
/file-systems?filter=provisioned>=107374182400
  • field_value: Search value (number, date, or string) that determines the fields to be included in or excluded from the response.

Literal strings must be wrapped in quotes.

To refine the filter, include the asterisk (*) symbol as a wildcard character in the field value to represent zero or more characters. The field_value can include multiple asterisks, and the asterisks can appear anywhere in the value. For example, the request GET /file-systems?filter=name='*cat*' lists all file systems with names that contain cat, including ones that begin or end with cat, such as cat, catnap, happycats, and lolcat. If the asterisks were not included, only the file system named cat would be returned.

Examples

Example 1: Get the file systems with the snapshot directory enabled.

GET https://pure01.example.com/api/[VERSION]/file-systems?
filter=snapshot_directory_enabled='true'

Example 2: Get a list of file systems with NFS enabled.

GET https://pure01.example.com/api/[VERSION]/file-systems?
filter=nfs.v3_enabled='true'

Filtering with Functions

Purity//FB REST API filter queries support the CONTAINS and NOT functions.

Syntax

?filter=function(parameters)

Filters support the following functions:

Function Description Examples
contains
(field_name,string)
Contains the enclosed string.
Takes exactly two parameters, where field_name represents the name of the field on which to create the filter, and string represents the string to searth within field_name.
Get a list of all file systems with the NFS rule configured for rw.
file-systems?filter=contains(nfs,rules,'rw')
not(expression) Inverse of the enclosed expression Get a list of all file systems with the NFS rule NOT configured for rw.
/file-systems?filter=not(contains(nfs.rules,'rw'))

Examples

Example 1: Get a list of all file systems with NFS enabled to true.

GET https://pure01.example.com/api/[VERSION]/file-systems?
filter=nfs.enabled='true'

Example 2: Get a list of all file systems with names that do not include fs01.

GET https://pure01.example.com/api/[VERSION]/file-systems?
filter=not(contains(name,'fs01'))

Pagination

Pagination controls the amount of data returned by displaying response objects (items) as page-by-page lists.

Pagination only applies if the total number of items returned is greater than the limit specified. To determine the total number of items returned, see the total-item-count body field of the response.

The Pure Storage REST API offers two methods of pagination: page by index, and page by continuation token.

Page by Index

Page by index enables clients to control the size and starting point of a page. Use page by index, such as in GUI implementations, to navigate through response objects page by page, jump to specific pages, and jump to the first or last page. For example, to page through all results with 20 results per page, begin with start=0&limit=20.

With page by index pagination, consistency may not be guaranteed in that some data may be duplicated or missing across pages. If consistency is important, use continuation tokens.

Syntax

start=offset_index&limit=items_returned

  • offset_index: Index number of the first item you want results for.

  • items_returned: Maximum number of response objects returned per page.

Examples

Example 1: Get all file systems starting at the very first file system.

GET https://pure01.example.com/api/[VERSION]/file-systems?start=0

Example 2: Get 10 file systems at a time.

GET https://pure01.example.com/api/[VERSION]/file-systems?limit=10

Example 3: Get 10 file systems with index 10 to 19.

GET https://pure01.example.com/api/[VERSION]/file-systems?start=10&limit=10

Continuation Token

The REST API supports continuation tokens, giving clients the ability to paginate with some consistency guaranteed.

Page by continuation token requires the limit and continuation_token query parameters.

The limit parameter determines how many response objects (items) are returned on each page.

The token parameter is a Base64 encoded value that is used to get the next page of data. The token is taken from the response field, continuation_token. A query has reached its last page when the response does not include a token.

Syntax

limit=items_returned&continuation_token=token_string

  • items_returned: Maximum number of response objects returned per page.
  • continuation_token: Token of the last/first item returned in the current paginated request. The token is used in the next submit to determine the first item that should appear on the next page. The token appears in the continuation_token response field. To ensure consistent paging, the continuation_token parameter must always be used with the sort parameter.

Examples

Example 1: Use continuation_token aWQgPSA5ODA1Mg== to get the next 10 file systems.

GET https://pure01.example.com/api/[VERSION]/file-systems?
limit=10&continuation_token=aWQgPSA5ODA1Mg==

Example 2: Get 2 file systems with index 5 to 6, and then use the continuation token returned ( bmFtZSA9IEdJeXpPM2htZmY==) to get the next 2 file systems.

>> GET https://pure01.example.com/api/[VERSION]/file-systems?start=5&limit=2
<< {
      "total_item_count": 10,
      "continuation_token": "bmFtZSA9IEdJeXpPM2htZmY=="
      }
      "items": [
<<    {
        "name": "FS001",
        "created": 1501182540000,
        "fast_remove_directory_enabled": false,
        "snapshot_directory_enabled": true,
        "destroyed": false,
        "time_remaining":null,
        "nfs": {
           "v3_enabled": true,
           "v4_1_enabled": true,
           "rules": "*(ro,root_squash)"
        },
        "smb": {
           "enabled": false
        },
        "http": {
           "enabled": false
        }
        "provisioned": 50000,
        "space": {
           "virtual": 0,
           "data_reduction": null,
           "unique": 0,
           "snapshots":0,
           "total_physical": 0
        }
     },
...
]
>> GET https://pure01.example.com/api/[VERSION]/file-systems?
limit=2&continuation_token=bmFtZSA9IEdJeXpPM2htZmY==
<< {
     "total_item_count": null,
     "continuation_token": "bmFtZSA9IHdpbmRvd3M=="
   }
     "items": [
   {
       "name": "FS",
       "created": 1501180869000,
       "fast_remove_directory_enabled": false,
       "snapshot_directory_enabled": true,
       "destroyed": false,
       "time_remaining":null,
       "nfs": {
          "v3_enabled": true,
          "v4_1_enabled": true,
          "rules": "*(ro,root_squash)"
       },
       "smb": {
          "enabled": false
       },
       "http": {
          "enabled": false
       },
       "provisioned": 50000,
          "space": {
          "virtual": 0,
          "unique": 0,
          "snapshots": 0,
          "data_reduction": null,
          "total_physical": 0
       }
   },
...
  ]
}

Combining Sorting, Filtering, and Pagination

Follow these guidelines when combining sorting, filtering, and pagination:

  • Sort queries can be combined. A single request can be sorted on multiple field names. For example, you can sort all file systems from largest to smallest file system size, and then sort file systems of the same size in ascending order by file system name. To sort on multiple field names, list the field names as comma-separated values.

  • Filter queries can be combined using the AND and OR operators. The AND operator displays response objects that meet the criteria of all filter queries in the request. The OR operator displays response objects that meet the criteria of at least one of the filter queries in the request.

  • The sort, filter, limit, and offset filters can all be combined together.

Examples

Example 1: Get a list of all file systems sorted in descending order by file system size, and then sorted in ascending order by file system name.

GET https://pure01.example.com/api/[VERSION]/file-systems?sort=provisioned-,name

Example 2: Get a list of all file systems that are greater than 10 gigabytes in size and were created after 2016-04-25T23:02:23Z.

GET https://pure01.example.com/api/[VERSION]/file-systems?
filter=provisioned>10737418240 and created>'2016-04-25T23:02:23Z'

Example 3: Get a list of all file systems that begin with fs1, and sort the list in descending order by name.

GET https://pure01.example.com/api/[VERSION]/file-systems?
filter=name='fs1*'&sort=name-

Example 4: Get a list of either all file systems with names that include 123 and are greater than or equal to 10 gigabytes in size, or all file systems with names that include abc and are less than or equal to 10 gigabytes in size.

GET https://pure01.example.com/api/[VERSION]/file-systems?
filter=(contains(name,'123') and provisioned >= 10737418240)
or (contains(name,'abc') and size <= 10737418240)

REST API and Scripting

Python REST SDK

There is a Python libary to enable easy integration with the FlashBlade Management REST API. Refer to the py-pure-client library documentation for additional information:

Pure Storage FlashBlade REST Python SDK Documentation

Authentication

AuthorizationHeader

Security Scheme Type API Key
Header parameter name: x-auth-token

ApiToken

Security Scheme Type API Key
Header parameter name: api-token

Authorization

Pure Storage uses the OAuth 2.0 Token Exchange authorization grant and JSON Web Tokens (JWTs) to authenticate to the Pure Storage REST API. Before you can exchange the ID token for an access token, create and enable the API client to generate the key_id, id, and issuer values. These values will be used as JWT claims for the subject_token parameter.

Get access token

Exchanges an ID Token for an OAuth 2.0 access token.

Request Body schema: application/x-www-form-urlencoded
grant_type
required
string
Default: "urn:ietf:params:oauth:grant-type:token-exchange"

The method by which the access token will be obtained. The Pure Storage REST API supports the OAuth 2.0 "token exchange" grant type, which indicates that a token exchange is being performed. Set grant_type to urn:ietf:params:oauth:grant-type:token-exchange.

subject_token
required
string

An encoded security ID Token representing the identity of the party on behalf of whom the request is being made. The token must be issued by a trusted identity provider which must be either a registered application in Pure1 or an enabled API client on the array. The token must be a JSON Web Token and must contain the following claims:

JWT claim Location API Client Field Description Required By
kid Header key_id Key ID of the API client that issues the identity token. FlashArray and FlashBlade only.
aud Payload id Client ID of the API client that issues the identity token. FlashArray and FlashBlade only.
sub Payload Login name of the array user for whom the token should be issued. This must be a valid user in the system. FlashArray and FlashBlade only.
iss Payload issuer Application ID for the Pure1 or API client's trusted identity issuer on the array. All products.
iat Payload Timestamp of when the identity token was issued. Measured in milliseconds since the UNIX epoch. All products.
exp Payload Timestamp of when the identity token will expire. Measured in milliseconds since the UNIX epoch. All products.

Each token must also be signed with the private key that is paired with the API client's public key.

subject_token_type
required
string
Default: "urn:ietf:params:oauth:token-type:jwt"

An identifier that indicates the type of security token specifed in the subject_token parameter. The Pure Storage REST API supports the JSON Web Token (JWT) as the means for requesting the access token. Set subject_token_type to urn:ietf:params:oauth:token-type:jwt.

Responses

Response samples

Content type
application/json
{
  • "access_token": "eyJraWQiOiJqTlBzL1Ria2c4U2Vua3F3ZmkvbnI4bWxxQ3NPIiwidHlwIjoiSldUIiwiYWxnIjoiUlMyNTYifQ.eyJhdWQiOiI5NDcyMTkwOC1mNzkyLTcxMmUtYTYzOS0wODM5ZmE4MzA5MjIiLCJzdWIiOiJqb2UiLCJyb2xlIjoic3RvcmFnZV9hZG1pbiIsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q6OTAwMCIsImlhdCI6MTU0NDAzNjA1MiwiZXhwIjoxNTQ0MDcyMDUyLCJqdGkiOiJjOTg0MjgyNS1mNGM3LTRiNGUtODdkNy03OWFiZmIxYTUzNDgifQ.pnuYAx0CkmkIG0LDrMAQGRr5Ci4-t5yMto3A7BkmyKnAVHBXG5ZIWwvNkWDLhqbA4YjmG7LZmWHrCVehLy2zy2vRLahFURsd3GTnOaWSyWFIyrwpoO81jQRtOQATtseweuMT_-C8o3oa4MgBNBsuKrhwKQS3oDDpeRPaCRTGev1_xRDxh_K6CWJBTAeOP2pcR4LW6zIJkCLzzkMuyL4aTJWWUjSbl04mcFbyw8r8W1GURrmaDVOvvpT634Hk9-GGh9OMIRlS6OOq7cJKc-RRWn18IK2Gs53V_KYshXTBbnRr990Y_qOX8MaTWOJTqgzsojY02MSVuJ9XDJWoIU3TQytr4K1vM2EvwDZDgl7LuUYUn7vWhbKktFzpeZyyhOjq3eX-ViugYKpIjBcG2f_-fcTPceEWGV82rd6TyVNB5A-v9u2kxCdW198t_kesgVQfuupDeS02cZe0ABLCzEHPiVF17JfiVr6sjkciioxN7Wj_j18ga4U0mdSukauT8yhbgCW1ijTVTFu1VwWebW0s8z3BWMtXdTtZ3BhcZVAdKRF8bOq7nfEbUQGhTn9g7dK-yF050winjtp-VTL2oUtkF5j1v_N8vPNiN9ZdkGJZr7VVZ-qeOJZcjdaRbxL6YB__yT1wkTcKPh8RHz6GUq7Jbyw8VIlcBE2nvJ63d0tH9C4",
  • "issued_token_type": "urn:ietf:params:oauth:token-type:access_token",
  • "token_type": "Bearer",
  • "expires_in": 35999
}

GET api_version

Get available API versions. No authentication is required to access this endpoint.

Responses

Response samples

Content type
application/json
{
  • "versions": [
    ]
}

POST login

Exchange an API token for a REST session token.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "username": "pureuser"
}

POST logout

Invalidate a REST session token.

Authorizations:

Responses

GET login_banner

Get the login banner for the array. No authentication is required to access this endpoint.

Responses

Response samples

Content type
application/json
{
  • "login_banner": "Restricted area. Authorized personnel only."
}

Active Directory

Active Directory configuration joins the array to the domain and manages its computer account. Authentication for NFS or SMB is performed using Kerberos. This configuration is also used to authorize users by mapping identities across the NFS and SMB protocols by using LDAP queries.

GET active-directory

List an Active Directory account and its configuration.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

DELETE active-directory

Delete an Active Directory account.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

local_only
boolean

If specified as true, only delete the Active Directory configuration on the local array, without deleting the computer account created in the Active Directory domain. If not specified, defaults to false.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

PATCH active-directory

Modify the configuration of an Active Directory account.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
directory_servers
Array of strings <= 5 items

A list of directory servers that will be used for lookups related to user authorization. Accepted server formats are IP address and DNS name. All specified servers must be registered to the domain appropriately in the array's configured DNS and will only be communicated with over the secure LDAP (LDAPS) protocol. If not specified, servers are resolved for the domain in DNS. The specified list can have a maximum length of 5.

encryption_types
Array of strings

The encryption types that will be supported for use by clients for Kerberos authentication. Valid values include aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, and arcfour-hmac.

fqdns
Array of strings <= 32 items

A list of fully qualified domain names to use to register service principal names for the machine account. If specified, every service principal that is supported by the array will be registered for each fully qualified domain name specified. If neither fqdns nor service_principal_names is specified, the default service_principal_names are constructed using the computer_name and domain fields. Cannot be provided in combination with service_principal_names.

join_ou
string

The relative distinguished name of the organizational unit in which the computer account should be created when joining the domain.

kerberos_servers
Array of strings <= 5 items

A list of key distribution servers to use for Kerberos protocol. Accepted server formats are IP address and DNS name. All specified servers must be registered to the domain appropriately in the array's configured DNS. If not specified, servers are resolved for the domain in DNS. The specified list can have a maximum length of 5.

service_principal_names
Array of strings <= 32 items

A list of service principal names to register for the machine account, which can be used for the creation of keys for Kerberos authentication. If neither service_principal_names nor fqdns is specified, the default service_principal_names are constructed using the computer_name and domain fields. Cannot be provided in combination with fqdns.

Responses

Request samples

Content type
application/json
{
  • "directory_servers": [
    ],
  • "encryption_types": [
    ],
  • "fqdns": [
    ],
  • "join_ou": "OU=Purestorage,OU=StorageMachines",
  • "kerberos_servers": [
    ],
  • "service_principal_names": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

POST active-directory

Join an Active Directory domain and generate keytabs for the registered SPNs and supported encryption types.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

join_existing_account
boolean

If specified as true, the domain is searched for a pre-existing computer account to join to, and no new account will be created within the domain. The user specified when joining to a pre-existing account must have permissions to 'read attributes from' and 'reset the password of' the pre-existing account. service_principal_names, encryption_types, and join_ou will be read from the pre-existing account and cannot be specified when joining to an existing account. If not specified, defaults to false.

Request Body schema: application/json
computer_name
string

The common name of the computer account to be created in the Active Directory domain. If not specified, defaults to the name of the Active Directory configuration.

directory_servers
Array of strings <= 5 items

A list of directory servers that will be used for lookups related to user authorization. Accepted server formats are IP address and DNS name. All specified servers must be registered to the domain appropriately in the array's configured DNS and will only be communicated with over the secure LDAP (LDAPS) protocol. If not specified, servers are resolved for the domain in DNS. The specified list can have a maximum length of 5.

domain
required
string

The Active Directory domain to join.

encryption_types
Array of strings

The encryption types that will be supported for use by clients for Kerberos authentication. Defaults to aes256-cts-hmac-sha1-96. Valid values include aes256-cts-hmac-sha1-96, aes128-cts-hmac-sha1-96, and arcfour-hmac. Cannot be provided if using an existing machine account.

fqdns
Array of strings <= 32 items

A list of fully qualified domain names to use to register service principal names for the machine account. If specified, every service principal that is supported by the array will be registered for each fully qualified domain name specified. If neither fqdns nor service_principal_names is specified, the default service_principal_names are constructed using the computer_name and domain fields. Cannot be provided in combination with service_principal_names. Cannot be provided if using an existing machine account.

join_ou
string

The relative distinguished name of the organizational unit in which the computer account should be created when joining the domain. Cannot be provided if using an existing machine account. If not specified, defaults to CN=Computers.

kerberos_servers
Array of strings <= 5 items

A list of key distribution servers to use for Kerberos protocol. Accepted server formats are IP address and DNS name. All specified servers must be registered to the domain appropriately in the array's configured DNS. If not specified, servers are resolved for the domain in DNS. The specified list can have a maximum length of 5.

password
required
string

The login password of the user with privileges to create the computer account in the domain. If using an existing computer account, the user must have privileges to read attributes from the computer account and reset the password on that account. This is not persisted on the array.

service_principal_names
Array of strings <= 32 items

A list of service principal names to register for the machine account, which can be used for the creation of keys for Kerberos authentication. If neither service_principal_names nor fqdns is specified, the default service_principal_names are constructed using the computer_name and domain fields. Cannot be provided in combination with fqdns. Cannot be provided if using an existing machine account.

user
required
string

The login name of the user with privileges to create the computer account in the domain. If using an existing computer account, the user must have privileges to read attributes from the computer account and reset the password on that account. This is not persisted on the array.

Responses

Request samples

Content type
application/json
{
  • "computer_name": "FLASHBLADE01",
  • "directory_servers": [
    ],
  • "domain": "my-corporation.com",
  • "encryption_types": [
    ],
  • "fqdns": [
    ],
  • "join_ou": "CN=Computers",
  • "kerberos_servers": [
    ],
  • "password": "Anything#but$adMinistrat0r",
  • "service_principal_names": [
    ],
  • "user": "Administrator"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET active-directory/test

Testing if the configuration of an Active Directory account is valid.

Authorizations:
query Parameters
filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Administrators

Manage administrators, including their REST API Token and public key for SSH access. The array has a single default administrative account named pureuser. Additional administrators and their administrative roles can be added by configuring the management directory service for the array. The available administrative roles are array_admin, storage_admin,readonly, ops_admin.

GET admins

List the administrator's attributes, including the API token and public key.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

expose_api_token
boolean

If true, exposes the API token of the current user.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH admins

Modify the attributes of the administrator.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
old_password
string

Old user password.

password
string

New user password.

public_key
string

Public key for SSH access. Supported key types are Ed25519 and RSA.

locked
boolean

If set to false, the specified user is unlocked. Setting to true is not allowed.

Responses

Request samples

Content type
application/json
{
  • "old_password": "string",
  • "password": "string",
  • "public_key": "string",
  • "locked": false
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET admins/api-tokens

Displays API tokens for the specified administrators.

Authorizations:
query Parameters
admin_ids
Array of strings

A comma-separated list of admin IDs. If after filtering, there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with the admin_names query parameter.

admin_names
Array of strings

A comma-separated list of admin names. If there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with admin_ids query parameter.

continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

expose_api_token
boolean

If true, exposes the API token of the current user.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST admins/api-tokens

Creates API tokens for the specified administrators.

Authorizations:
query Parameters
admin_ids
Array of strings

A comma-separated list of admin IDs. If after filtering, there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with the admin_names query parameter.

admin_names
Array of strings

A comma-separated list of admin names. If there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with admin_ids query parameter.

timeout
integer <int64>

The duration of API token validity, in milliseconds.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE admins/api-tokens

Deletes the API tokens of the specified administrators.

Authorizations:
query Parameters
admin_ids
Array of strings

A comma-separated list of admin IDs. If after filtering, there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with the admin_names query parameter.

admin_names
Array of strings

A comma-separated list of admin names. If there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with admin_ids query parameter.

Responses

GET admins/cache

List cached administrator information used to determine role based access control privileges.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

refresh
boolean

Whether to refresh the user info from directory service. If not specified, defaults to false.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

DELETE admins/cache

Delete cached administrator role information by name or ID.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

List global admin settings

Return global admin settings.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Update global admin settings

Update properties for global admin settings.

Authorizations:
Request Body schema: application/json
lockout_duration
integer <int64> [ 0 .. 7776000000 ]

The lockout duration, in milliseconds, if a user has reached the maximum number of login attempts. Ranges from 1 second to 90 days. Default value is null. Use 0 to reset the value to null.

max_login_attempts
integer <int32> [ 0 .. 100 ]

The maximum number of failed login attempts allowed before the user is locked out. Default value is null. Use 0 to reset the value to null.

min_password_length
integer <int32> [ 1 .. 100 ]

The minimum password length. If not specified, defaults to 1 character.

Responses

Request samples

Content type
application/json
{
  • "lockout_duration": 3600000,
  • "max_login_attempts": 10,
  • "min_password_length": 1
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Alerts

Alerts indicate significant events that occur on the array, including whenever a component degrades or the capacity threshold of the component is reached.

GET alerts

Returns a list of alerts which have been generated by the array.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH alerts

Make changes to an alert. This is currently limited to the alert's flagged property.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
flagged
boolean

Flagged state of the alert.

Responses

Request samples

Content type
application/json
{
  • "flagged": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Alert Watchers

Alert watchers receive email notifications when alerts occur on an array.

GET alert-watchers

List alert watchers that are configured to receive alert messages.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST alert-watchers

Create an alert watcher to receive array alert messages.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
minimum_notification_severity
string

The minimum severity that an alert must have in order for emails to be sent to the watcher. Possible values include info, warning, and critical. If not specified, defaults to info.

Responses

Request samples

Content type
application/json
{
  • "minimum_notification_severity": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH alert-watchers

Modify an alert watcher’s configuration. Enable or disable an alert watcher privilege and select the level of alert notification of an alert watcher. Alert notification levels are info, warning, or critical.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
enabled
boolean

Is email notification enabled? If not specified, defaults to true.

minimum_notification_severity
string

The minimum severity that an alert must have in order for emails to be sent to the watcher. Possible values include info, warning, and critical.

Responses

Request samples

Content type
application/json
{
  • "enabled": true,
  • "minimum_notification_severity": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE alert-watchers

Delete an alert watcher.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

GET alert-watchers/test

Test an alert watcher's contact information to verify alerts can be sent and received.

Authorizations:
query Parameters
filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

API Clients

An API client represents an identity type. API clients are created on the array. To create an API client, register and then enable it on the array. After the API client has been created, the user name (sub) and identity tokens (kid and aud tokens) that are issued by the API client are used as claims for the JSON Web Token that you create to authenticate into the REST API.

GET api-clients

List an API client and its configuration attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

POST api-clients

Create an API client to authorize Access Token or Bearer Tokens for use on the array. Required fields include issuer, public_key, and access_token_ttl_in_ms. After creating an API client, it can only be enabled by an authorized user.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
required
object

The maximum role allowed for ID Tokens issued by this API client. The bearer of an access token will be authorized to perform actions within the intersection of this max_role and the role of the array user specified as the JWT sub (subject) claim. The max_role field is a reference to a role. Valid roles are readonly, ops_admin, array_admin, and storage_admin. Users with the readonly (Read Only) role can perform operations that convey the state of the array. Read Only users cannot alter the state of the array. Users with the ops_admin (Ops Admin) role can perform the same operations as Read Only users plus enable and disable remote assistance sessions. Ops Admin users cannot alter the state of the array. Users with the storage_admin (Storage Admin) role can perform the same operations as Read Only users plus storage related operations, such as administering volumes, hosts, and host groups. Storage Admin users cannot perform operations that deal with global and system configurations. Users with the array_admin (Array Admin) role can perform the same operations as Storage Admin users plus array-wide changes dealing with global and system configurations. In other words, Array Admin users can perform all operations.

issuer
string

The name of the identity provider that will be issuing ID Tokens for this API client. The iss claim in the JWT issued must match this string. If not specified, defaults to the API client name.

public_key
required
string

The API client's PEM formatted (Base64 encoded) RSA public key. It must include the -----BEGIN PUBLIC KEY----- and -----END PUBLIC KEY----- lines.

access_token_ttl_in_ms
integer <int64>

The TTL (Time To Live) duration for which the exchanged access token is valid. Measured in milliseconds. If not specified, defaults to 86400000.

Responses

Request samples

Content type
application/json
{
  • "max_role": {
    },
  • "public_key": "-----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEArSe6chh1JzME9svOKjU0 eKTm8S23Ok3Vr2bWuPri/YHfLrlnRwWoCt+st0/BebKSJ+fQUWOaLlqpZQKpI8oR gJ9sWmwGibVG8cTuz7XMkskx9bsm/bjIenuB4W+s3g0BCsi9930mfdKgJgFzY69O nLh7d7hAFcmhSJa945PryQZpvJ/U4Ue5F4d+WXgEJ0SoSRaZ6bbeMPhcbMHTzTum 2ZrPBkK5cqPYitaso6BXeAlqNQPw4Kbu4Ugm0CTogrtImkwoonWDDP34XMOq+u7q sNTbJSvDKMTM1RPPrTWCaLiuZkdLVEVesZ9/8+XUMIgBTElwQJDCAQer03MJzqRr 1eCZGgLfDuYqwMG2MFaAX7kgqBwwyqRTd6MxaQxt2nkdfwiXSY71llzEQ23g3T+1 64zjwAL5f+dtu8PkGF7IdU2T8P2Qk9bG9pckwZHWYkBK77BAk5jbmSzsKGZgRb2R 1E+TWDKIaveFhQp251j/C5wkZwMXgjOzN+BOPo+OiLBGUl+jRybWA9f7Vq1MEdf6 SEdLiqYrXcZERkYBMieLXAfdtaztAIb96cUu+OKMSLDk+D0GHkUfm7lEbDK3ew1+ D6z+BnxDyH6oqZzz4lS2kPLBLsc+6pdTGuKLf0S9YuLiqJe659AdwU8+X/3KtwNd FVJSaxdFbWx0nj3hJqFkIO8CAwEAAQ== -----END PUBLIC KEY-----",
  • "access_token_ttl_in_ms": 15000
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH api-clients

Modify an API client. Newly created API clients can be enabled by setting the enabled parameter to true.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
enabled
boolean

If true, the API client is permitted to exchange ID Tokens for access tokens. API clients are disabled by default.

Responses

Request samples

Content type
application/json
{
  • "enabled": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE api-clients

Delete the API client.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Arrays

Arrays features provide the ability to configure settings that affect the array as a whole, monitor array I/O performance, and make sure that the array is operating properly.

GET arrays

List array attributes such as the array name, ID, version, and NTP servers.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH arrays

Modify the general configuration of the array including banner text, array name, NTP servers, and time zone.

Authorizations:
Request Body schema: application/json
name
string

A name chosen by the user. Can be changed. Must be locally unique.

banner
string

A string to be shown when logging in to the array.

idle_timeout
integer <int32>

Idle timeout in milliseconds. Valid values are in the range of 300000 and 10800000. Setting this value to 0 disables timeouts.

ntp_servers
Array of strings
time_zone
string

The time zone to use for the array. In particular this affects the CLI formatting and the default snapshot policy time zone.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "banner": "Restricted area. Authorized personnel only.",
  • "idle_timeout": 300000,
  • "ntp_servers": [
    ],
  • "time_zone": "America/Los_Angeles"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET arrays/eula

List the End User Agreement and signature.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH arrays/eula

Modifies the signature on the End User Agreement.

Authorizations:
Request Body schema: application/json
object

Responses

Request samples

Content type
application/json
{
  • "signature": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

List factory reset tokens

Displays a list of tokens used to perform a factory reset on the array.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Delete a factory reset token

Deletes any existing token that could be used to perform a factory reset on the array.

Authorizations:

Responses

Create a factory reset token

Creates a token that can be used to perform a factory reset on the array. Factory reset tokens can only be created after the array has been prepared for reset (e.g., all file systems, buckets, and snapshots must first be eradicated). After a token has been created, operations that would take the array out of the prepared state (e.g., creating file systems) are disabled until all tokens have been deleted.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET arrays/http-specific-performance

List the HTTP performance metrics of the array.

Authorizations:
query Parameters
end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET arrays/nfs-specific-performance

List the NFS performance metrics of the array.

Authorizations:
query Parameters
end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET arrays/performance

Lists the overall performance metrics of the array.

Authorizations:
query Parameters
end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

protocol
string

Display the performance of a specified protocol. Valid values are all, HTTP, SMB, NFS, and S3. If not specified, defaults to all, which will provide the combined performance of all available protocols.

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET arrays/performance/replication

List replication performance metrics.

Authorizations:
query Parameters
end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

type
string

Display the metric of a specified object type. Valid values are all, file-system, and object-store. If not specified, defaults to all.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET arrays/s3-specific-performance

List the S3 performance metrics of the array.

Authorizations:
query Parameters
end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET arrays/space

List available and used storage space on the array.

Authorizations:
query Parameters
end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

type
string

Display the metric of a specified object type. Valid values are array, file-system, and object-store. If not specified, defaults to array.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET arrays/supported-time-zones

List supported time zones for the array.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Array Connections

View and manage connected arrays, including their network configurations, connection keys, and replication performance.

GET array-connections

List connected arrays for replication.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH array-connections

Modify the configuration of a connected array.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Request Body schema: application/json
encrypted
boolean

If this is set to true, then all customer data replicated over the connection will be sent over an encrypted connection using TLS, or will not be sent if a secure connection cannot be established. If this is set to false, then all customer data replicated over the connection will be sent over an unencrypted connection. Defaults to false.

management_address
string

Management address of the target array. Settable on POST only.

replication_addresses
Array of strings

IP addresses and/or FQDNs of the target arrays. Settable on POST only. If not set on POST, will be set to all the replication addresses available on the target array at the time of the POST.

object

The bandwidth throttling for an array connection.

Responses

Request samples

Content type
application/json
{
  • "encrypted": true,
  • "management_address": "10.202.101.78",
  • "replication_addresses": [
    ],
  • "throttle": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

POST array-connections

Create a connection to an array for replication and configure network settings.

Authorizations:
Request Body schema: application/json
encrypted
boolean

If this is set to true, then all customer data replicated over the connection will be sent over an encrypted connection using TLS, or will not be sent if a secure connection cannot be established. If this is set to false, then all customer data replicated over the connection will be sent over an unencrypted connection. Defaults to false.

management_address
string

Management address of the target array. Settable on POST only.

replication_addresses
Array of strings

IP addresses and/or FQDNs of the target arrays. Settable on POST only. If not set on POST, will be set to all the replication addresses available on the target array at the time of the POST.

connection_key
string

The connection key of the target array. Settable on POST only.

object

The bandwidth throttling for an array connection.

Responses

Request samples

Content type
application/json
{
  • "encrypted": true,
  • "management_address": "10.202.101.78",
  • "replication_addresses": [
    ],
  • "connection_key": "6207d123-d123-0b5c-5fa1-95fabc5c7123",
  • "throttle": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE array-connections

Delete a connection to an array.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Responses

GET array-connections/connection-key

List connection keys used to authenticate the connection from one array to another.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST array-connections/connection-key

Create an array connection key allowing one array to connect to another for replication.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET array-connections/path

List network path details of connected arrays.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET array-connections/performance/replication

List performance metrics of file systems or objects being replicated from one array to another.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

type
string

Display the metric of a specified object type. Valid values are all, file-system, and object-store. If not specified, defaults to all.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": [
    ]
}

Audits

View the audit trail on the array. Every request that creates, modifies, or deletes a resource will be logged in the audit trail.

GET audits

List the array audit trail to view activities that were performed on the array.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Blades

Displays the detailed information of each blade in the array.

GET blades

List array blade information.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "total": {
    },
  • "items": [
    ]
}

Buckets

Manages the creation, attributes, and deletion of buckets on the array.

GET buckets

List object store bucket attributes such as creation time and space usage.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

destroyed
boolean

If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. If not set, lists both objects that are destroyed and those that are not destroyed. If object name(s) are specified in the names parameter, then each object referenced must exist. If destroyed is set to true, then each object referenced must also be destroyed. If destroyed is set to false, then each object referenced must also not be destroyed. An error is returned if any of these conditions are not met.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": {
    }
}

POST buckets

Create a new object store bucket.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
object

The account name for bucket creation.

bucket_type
string

The bucket type for the bucket.

Responses

Request samples

Content type
application/json
{
  • "account": {
    },
  • "bucket_type": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH buckets

Modify object store bucket attributes such as destroyed and versioning.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
destroyed
boolean

Is the bucket destroyed?

versioning
string

The versioning state for objects within the bucket. Valid values are none, enabled, and suspended.

Responses

Request samples

Content type
application/json
{
  • "destroyed": true,
  • "versioning": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE buckets

Delete object store buckets.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

GET buckets/performance

List performance metrics for a bucket.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": [
    ]
}

GET buckets/s3-specific-performance

List performance metrics specific to S3 operations for a bucket.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": [
    ]
}

GET bucket-replica-links

List bucket replica links for object replication.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

local_bucket_ids
Array of strings

A comma-separated list of local bucket IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_bucket_names query parameter.

local_bucket_names
Array of strings

A comma-separated list of local bucket names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_bucket_ids query parameter.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

remote_bucket_names
Array of strings

A comma-separated list of remote bucket names. If there is not at least one resource that matches each of the elements, then an error is returned.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": {
    }
}

POST bucket-replica-links

Create a bucket replica link for object replication.

Authorizations:
query Parameters
local_bucket_names
Array of strings

A comma-separated list of local bucket names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_bucket_ids query parameter.

local_bucket_ids
Array of strings

A comma-separated list of local bucket IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_bucket_names query parameter.

remote_bucket_names
Array of strings

A comma-separated list of remote bucket names. If there is not at least one resource that matches each of the elements, then an error is returned.

remote_credentials_names
Array of strings

A comma-separated list of remote credentials names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_credentials_ids query parameter.

remote_credentials_ids
Array of strings

A comma-separated list of remote credentials IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_credentials_names query parameter.

Request Body schema: application/json
paused
boolean

Create link in the paused state? Defaults to false.

cascading_enabled
boolean

If set to true, objects replicated to this bucket via a replica link from another array will also be replicated by this link to the remote bucket. Defaults to false.

Responses

Request samples

Content type
application/json
{
  • "paused": true,
  • "cascading_enabled": true
}

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "total": {
    }
}

PATCH bucket-replica-links

Modify the configuration of a bucket replica link including whether the link is paused and the object store remote credentials used.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

local_bucket_ids
Array of strings

A comma-separated list of local bucket IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_bucket_names query parameter.

local_bucket_names
Array of strings

A comma-separated list of local bucket names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_bucket_ids query parameter.

remote_bucket_names
Array of strings

A comma-separated list of remote bucket names. If there is not at least one resource that matches each of the elements, then an error is returned.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Request Body schema: application/json
paused
boolean

Is the replica link paused?

object

Reference to a remote-credentials object to access the remote bucket.

Responses

Request samples

Content type
application/json
{
  • "paused": true,
  • "remote_credentials": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "total": {
    }
}

DELETE bucket-replica-links

Delete a bucket replica link.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

local_bucket_ids
Array of strings

A comma-separated list of local bucket IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_bucket_names query parameter.

local_bucket_names
Array of strings

A comma-separated list of local bucket names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_bucket_ids query parameter.

remote_bucket_names
Array of strings

A comma-separated list of remote bucket names. If there is not at least one resource that matches each of the elements, then an error is returned.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Responses

Certificates

Purity//FB creates a self-signed certificate and private key when you start the system for the first time. You can use the default certificate, change the certificate attributes, create a new self-signed certificate, or import an SSL certificate signed by a certificate authority.

GET certificates

List array certificates and their attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST certificates

Upload a CA certificate to the array.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
certificate
string

The text of the certificate.

certificate_type
string

The type of certificate. Possible values are appliance and external. Certificates of type appliance are used by the array to verify its identity to clients. Certificates of type external are used by the array to identify external servers to which it is configured to communicate.

intermediate_certificate
string

Intermediate certificate chains.

Responses

Request samples

Content type
application/json
{
  • "certificate": "string",
  • "certificate_type": "string",
  • "intermediate_certificate": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH certificates

Modify SSL certificate attributes such as passphrases and intermediate certificates.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
certificate
string

The text of the certificate.

intermediate_certificate
string

Intermediate certificate chains.

passphrase
string

The passphrase used to encrypt private_key.

private_key
string

The private key used to sign the certificate.

Responses

Request samples

Content type
application/json
{
  • "certificate": "string",
  • "intermediate_certificate": "string",
  • "passphrase": "string",
  • "private_key": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE certificates

Delete a CA certificate from the array.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

GET certificates/certificate-groups

List membership associations between groups and certificates.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

certificate_ids
Array of strings

A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

certificate_group_ids
Array of strings

A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

certificate_group_names
Array of strings

A comma-separated list of certificate group names. If there is not at least one resource that matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

certificate_names
Array of strings

A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST certificates/certificate-groups

Add one or more certificates to one or more certificate groups.

Authorizations:
query Parameters
certificate_ids
Array of strings

A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

certificate_group_ids
Array of strings

A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

certificate_group_names
Array of strings

A comma-separated list of certificate group names. If there is not at least one resource that matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

certificate_names
Array of strings

A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE certificates/certificate-groups

Remove one or more certificates from one or more certificate groups.

Authorizations:
query Parameters
certificate_ids
Array of strings

A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

certificate_group_ids
Array of strings

A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

certificate_group_names
Array of strings

A comma-separated list of certificate group names. If there is not at least one resource that matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

certificate_names
Array of strings

A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

Responses

GET certificates/uses

List how certificates are being used and by what.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Certificate Groups

Certificate Groups can contain one or more CA certificates for verifying an LDAP server identity and establish communication over TLS.

GET certificate-groups

Display all array certificate groups.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST certificate-groups

Create one or more certificate groups on the array.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE certificate-groups

Delete one or more certificate groups from the array.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

GET certificate-groups/certificates

List membership associations between groups and certificates on the array.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

certificate_ids
Array of strings

A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

certificate_group_ids
Array of strings

A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

certificate_group_names
Array of strings

A comma-separated list of certificate group names. If there is not at least one resource that matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

certificate_names
Array of strings

A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST certificate-groups/certificates

Add one or more certificates to one or more certificate groups on the array.

Authorizations:
query Parameters
certificate_ids
Array of strings

A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

certificate_group_ids
Array of strings

A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

certificate_group_names
Array of strings

A comma-separated list of certificate group names. If there is not at least one resource that matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

certificate_names
Array of strings

A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE certificate-groups/certificates

Delete one or more certificate groups.

Authorizations:
query Parameters
certificate_ids
Array of strings

A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

certificate_group_ids
Array of strings

A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

certificate_group_names
Array of strings

A comma-separated list of certificate group names. If there is not at least one resource that matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

certificate_names
Array of strings

A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

Responses

GET certificate-groups/uses

List how certificate groups are being used and by what.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Clients

Displays an NFS client’s performance metrics on the array for read, write, and meta operations.

GET clients-performance

List NFS client I/O performance metrics.

Authorizations:
query Parameters
filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": [
    ]
}

Directory Services

Manages directory service configurations for integration with LDAP servers (e.g. Active Directory and OpenLDAP) in order to support various array services.

GET directory-services

List directory service configuration information for the array.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH directory-services

Modifies and tests the directory service configuration.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
base_dn
string

Base of the Distinguished Name (DN) of the directory service groups.

bind_password
string

Obfuscated password used to query the directory.

bind_user
string

Username used to query the directory.

object

CA certificate used to validate the authenticity of the configured servers.

object

A certificate group containing CA certificates that can be used to validate the authenticity of the configured servers.

enabled
boolean

Is the directory service enabled or not?

object

Properties specific to the Management service.

object

Properties specific to the NFS service.

object

Properties specific to the SMB service.

uris
Array of strings <= 30 items

List of URIs for the configured directory servers.

Responses

Request samples

Content type
application/json
{
  • "base_dn": "DC=mycompany,DC=com",
  • "bind_password": "****",
  • "bind_user": "CN=John,OU=Users,DC=example,DC=com",
  • "ca_certificate": {
    },
  • "ca_certificate_group": {
    },
  • "enabled": true,
  • "management": {
    },
  • "nfs": {
    },
  • "smb": {
    },
  • "uris": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET directory-service/roles

Return array's RBAC group configuration settings for manageability.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the role_names or role_ids query parameters.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

role_ids
Array of strings

A comma-separated list of role_ids. If after filtering, there is not at least one resource that matches each of the elements of role_ids, then an error is returned. This cannot be provided together with the ids or role_names query parameters.

role_names
Array of strings

A comma-separated list of role_names. If there is not at least one resource that matches each of the elements of role_names, then an error is returned. This cannot be provided together with the ids or role_ids query parameters.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH directory-service/roles

Update an RBAC group configuration setting for manageability.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the role_names or role_ids query parameters.

role_ids
Array of strings

A comma-separated list of role_ids. If after filtering, there is not at least one resource that matches each of the elements of role_ids, then an error is returned. This cannot be provided together with the ids or role_names query parameters.

role_names
Array of strings

A comma-separated list of role_names. If there is not at least one resource that matches each of the elements of role_names, then an error is returned. This cannot be provided together with the ids or role_ids query parameters.

Request Body schema: application/json
object

A reference to the role; can be any role that exists on the system.

group
string

Common Name (CN) of the directory service group containing users with authority level of the specified role name.

group_base
string

Specifies where the configured group is located in the directory tree.

Responses

Request samples

Content type
application/json
{
  • "role": {
    },
  • "group": "groupOfUsers",
  • "group_base": "OU=PureGroups,OU=SANManagers"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET directory-services/test

Test the configured directory services on the array.

Authorizations:
query Parameters
filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH directory-service/test

Test the configured directory services on the array. Optionally, provide modifications which will be used to perform the tests, but will not be applied to the current configuration.

Authorizations:
query Parameters
filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Request Body schema: application/json

An optional directory service configuration that, if provided, will be used to overwrite aspects of the existing directory service objects when performing tests.

base_dn
string

Base of the Distinguished Name (DN) of the directory service groups.

bind_password
string

Obfuscated password used to query the directory.

bind_user
string

Username used to query the directory.

object

CA certificate used to validate the authenticity of the configured servers.

object

A certificate group containing CA certificates that can be used to validate the authenticity of the configured servers.

enabled
boolean

Is the directory service enabled or not?

object

Properties specific to the Management service.

object

Properties specific to the NFS service.

object

Properties specific to the SMB service.

uris
Array of strings <= 30 items

List of URIs for the configured directory servers.

Responses

Request samples

Content type
application/json
{
  • "base_dn": "DC=mycompany,DC=com",
  • "bind_password": "****",
  • "bind_user": "CN=John,OU=Users,DC=example,DC=com",
  • "ca_certificate": {
    },
  • "ca_certificate_group": {
    },
  • "enabled": true,
  • "management": {
    },
  • "nfs": {
    },
  • "smb": {
    },
  • "uris": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DNS

Manages the Domain Name System (DNS) attributes, including the domain suffix and static name servers. The configured attributes can be listed.

GET dns

List DNS attributes for the array's administrative network.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH dns

Modify DNS attributes.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
domain
string

Domain suffix to be appended by the Array when performing DNS lookups.

nameservers
Array of strings <= 3 items

List of DNS server IP addresses.

Responses

Request samples

Content type
application/json
{
  • "domain": "example.com",
  • "nameservers": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Drives

Displays detailed information for each drive in the array. Drives are not used in all hardware platforms, and are currently only present in the FlashBlade//S product line.

GET drives

List array drive information.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "total": {
    },
  • "items": [
    ]
}

File Systems

Manages the creation, attributes, and deletion of file systems on the array.

GET file-systems

List one or more file systems on the array.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

destroyed
boolean

If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. If not set, lists both objects that are destroyed and those that are not destroyed. If object name(s) are specified in the names parameter, then each object referenced must exist. If destroyed is set to true, then each object referenced must also be destroyed. If destroyed is set to false, then each object referenced must also not be destroyed. An error is returned if any of these conditions are not met.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": {
    }
}

POST file-systems

Create a file system on the current array.

Authorizations:
query Parameters
discard_non_snapshotted_data
boolean

This parameter must be set to true in order to restore a file system from a snapshot or to demote a file system (which restores the file system from the common baseline snapshot). Setting this parameter to true is acknowledgement that any non-snapshotted data currently in the file system will be irretrievably lost.

names
required
Array of strings

A comma-separated list of resource names.

overwrite
boolean

When used for snapshot restore, overwrites (true) an existing file system.

Request Body schema: application/json
default_group_quota
integer <int64>

The default space quota for a group writing to this file system.

default_user_quota
integer <int64>

The default space quota for a user writing to this file system.

fast_remove_directory_enabled
boolean

If set to true, the file system, when mounted, will contain a directory that can be used for fast removal of other directories. Directories can be moved into the fast remove directory in order to have them deleted, and their space freed, more quickly than a normal removal operation. If not specified, defaults to false.

hard_limit_enabled
boolean

If set to true, the file system's size, as defined by provisioned, is used as a hard limit quota. If not specified, defaults to false.

object

HTTP configuration.

object

Multi-protocol configuration.

object

NFS configuration.

provisioned
integer <int64>

The provisioned size of the file system, displayed in bytes. If set to an empty string (""), the file system is unlimited in size. If not specified, defaults to unlimited.

requested_promotion_state
string

Possible values are promoted and demoted. The demoted state is used for replication targets and is only allowed to be set if the file system is in a replica-link relationship. The additional query param discard-non-snapshotted-data must be set to true when demoting a file system. The default for new file systems is promoted.

object

SMB configuration.

snapshot_directory_enabled
boolean

If set to true, a hidden .snapshot directory will be present in each directory of the file system when it is mounted. The .snapshot directory allows clients read access to the contents of the snapshots that have been taken of a directory. If set to false, the .snapshot directory will not be present in any directories within a mounted file system. If not specified, defaults to true.

object

The source snapshot whose data is copied to the file system specified.

writable
boolean

Whether the file system is writable or not. If false, this overrides any protocol or file permission settings and prevents changes. If true, then the protocol and file permission settings are evaluated. If not specified, defaults to true. Modifiable.

Responses

Request samples

Content type
application/json
null

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE file-systems

Deletes a file system. Deleting a file system is equivalent to eradication. A file system's destroyed parameter must be set to true before a file system can be deleted.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

PATCH file-systems

Modify a file system’s attributes including its export protocols and limits.

Authorizations:
query Parameters
delete_link_on_eradication
boolean

If set to true, the file system can be destroyed, even if it has a replica link. If set to false, the file system cannot be destroyed if it has a replica link. Defaults to false.

discard_detailed_permissions
boolean

This parameter must be set to true in order to change a file system's access_control_style from a style that supports more detailed access control lists to a style that only supports less detailed mode bits as a form of permission control. This parameter may not be set to true any other time. Setting this parameter to true is acknowledgement that any more detailed access control lists currently set within the file system will be lost, and NFS permission controls will only be enforced at the granularity level of NFS mode bits.

discard_non_snapshotted_data
boolean

This parameter must be set to true in order to restore a file system from a snapshot or to demote a file system (which restores the file system from the common baseline snapshot). Setting this parameter to true is acknowledgement that any non-snapshotted data currently in the file system will be irretrievably lost.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

ignore_usage
boolean

Allow update operations that lead to a hard_limit_enabled file system with usage over its provisioned size. The update can be either setting hard_limit_enabled when usage is higher than provisioned size, or resize provisioned size to a value under usage when hard_limit_enabled is true.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
default_group_quota
integer <int64>

The default space quota for a group writing to this file system.

default_user_quota
integer <int64>

The default space quota for a user writing to this file system.

destroyed
boolean

Returns a value of true if the file system has been destroyed and is pending eradication. The file system cannot be modified while it is in the destroyed state. The time_remaining value displays the amount of time left until the destroyed file system is permanently eradicated. Once eradication has begun, the file system can no longer be recovered. Before the time_remaining period has elapsed, the destroyed file system can be recovered through the PATCH method by setting destroyed=false.

fast_remove_directory_enabled
boolean

If set to true, the file system, when mounted, will contain a directory that can be used for fast removal of other directories. Directories can be moved into the fast remove directory in order to have them deleted, and their space freed, more quickly than a normal removal operation.

hard_limit_enabled
boolean

If set to true, the file system's size, as defined by provisioned, is used as a hard limit quota.

object

HTTP configuration.

object

Multi-protocol configuration.

object

NFS configuration.

provisioned
integer <int64>

The provisioned size of the file system, displayed in bytes. If set to an empty string (""), the file system is unlimited in size.

requested_promotion_state
string

Possible values are promoted and demoted. The demoted state is used for replication targets and is only allowed to be set if the file system is in a replica-link relationship. The additional query param discard-non-snapshotted-data must be set to true when demoting a file system. The default for new file systems is promoted.

object

SMB configuration.

snapshot_directory_enabled
boolean

If set to true, a hidden .snapshot directory will be present in each directory of the file system when it is mounted. The .snapshot directory allows clients read access to the contents of the snapshots that have been taken of a directory. If set to false, the .snapshot directory will not be present in any directories within a mounted file system.

object

A reference to the source file system.

object

The space usage of the file system.

writable
boolean

Whether the file system is writable or not. If false, this overrides any protocol or file permission settings and prevents changes. If true, then the protocol and file permission settings are evaluated. If not specified, defaults to true. Modifiable.

Responses

Request samples

Content type
application/json
{
  • "default_group_quota": 0,
  • "default_user_quota": 0,
  • "destroyed": true,
  • "fast_remove_directory_enabled": true,
  • "hard_limit_enabled": true,
  • "http": {
    },
  • "multi_protocol": {
    },
  • "nfs": {
    },
  • "provisioned": 1048576,
  • "requested_promotion_state": "string",
  • "smb": {
    },
  • "snapshot_directory_enabled": true,
  • "source": {
    },
  • "space": { },
  • "writable": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET file-systems/groups/performance

List a group’s I/O performance metrics on a file system.

Authorizations:
query Parameters
file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

filter
string

Exclude resources that don't match the specified criteria.

gids
Array of strings

A comma-separated list of group IDs. This cannot be provided together with group_names query parameter.

group_names
Array of strings

A comma-separated list of group names. This cannot be provided together with gids query parameter.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "total": [
    ]
}

GET file-systems/performance

Displays the performance metrics for a file system.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

protocol
string

Display the performance of a specified protocol. Valid values are all, HTTP, SMB, NFS, and S3. If not specified, defaults to all, which will provide the combined performance of all available protocols.

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": [
    ]
}

GET file-systems/policies

List file system snapshot scheduling policies.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST file-systems/policies

Apply a snapshot scheduling policy to a file system. Only one file system can be mapped to a policy at a time.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE file-systems/policies

Remove a snapshot scheduling policy from a file system.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

GET file-systems/policies-all

List file system policies.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET file-systems/users/performance

List a user’s I/O performance metrics on a file system.

Authorizations:
query Parameters
file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

uids
Array of integers <int32>

A comma-separated list of user IDs. This cannot be provided together with user_names query parameter.

user_names
Array of strings

A comma-separated list of user names. This cannot be provided together with uids query parameter.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ],
  • "total": [
    ]
}

GET file-system-replica-links

List file system replication link.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

remote_file_system_ids
Array of strings

A comma-separated list of remote file system IDs. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_names query parameter.

remote_file_system_names
Array of strings

A comma-separated list of remote file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_ids query parameter.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST file-system-replica-links

Create a file system replication link.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

remote_file_system_names
Array of strings

A comma-separated list of remote file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_ids query parameter.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Request Body schema: application/json
Array of objects

Responses

Request samples

Content type
application/json
{
  • "policies": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET file-system-replica-links/policies

List file system replication link policies.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_file_system_ids
Array of strings

A comma-separated list of remote file system IDs. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_names query parameter.

remote_file_system_names
Array of strings

A comma-separated list of remote file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_ids query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST file-system-replica-links/policies

Add a policy to a file system replication link.

Authorizations:
query Parameters
local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE file-system-replica-links/policies

Remove a policy from a file system replication link.

Authorizations:
query Parameters
local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Responses

GET file-system-replica-links/transfer

List the transfer status details for file system replication.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names_or_owner_names
Array of strings

A comma-separated list of resource names. Either the names of the snapshots or the owning file systems.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": {
    }
}

File System Snapshots

A file system snapshot is a point-in-time copy of a file system. Multiple snapshots of a file system can be copied for different points in time. A snapshot policy can also be applied to a file system for automatic creation and retention of snapshots. Additionally, file system snapshots can also be sent from one array to another.

GET file-system-snapshots

List file system snapshots.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

destroyed
boolean

If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. If not set, lists both objects that are destroyed and those that are not destroyed. If object name(s) are specified in the names parameter, then each object referenced must exist. If destroyed is set to true, then each object referenced must also be destroyed. If destroyed is set to false, then each object referenced must also not be destroyed. An error is returned if any of these conditions are not met.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names_or_owner_names
Array of strings

A comma-separated list of resource names. Either the names of the snapshots or the owning file systems.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

owner_ids
Array of strings

A comma-separated list of owning file system IDs. If after filtering, there is not at least one resource that matches each of the elements of owner IDs, then an error is returned. This cannot be provided together with the ids, names_or_owner_names, or names_or_sources query parameters.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": {
    }
}

POST file-system-snapshots

Create a snapshot for a specified source file system. If a source file system is not specified, creates snapshots for all file systems on the array.

Authorizations:
query Parameters
source_ids
Array of strings

A comma-separated list of source file system IDs. If after filtering, there is not at least one resource that matches each of the elements of source_ids, then an error is returned. This cannot be provided together with the names_or_sources or sources query parameters.

source_names
Array of strings

A comma-separated list of names for the source of the object. If there is not at least one resource that matches each of the elements of source_names, an error is returned.

send
boolean

Whether to replicate created snapshots immediately to other arrays. If it's false, created snapshots may still be replicated to other arrays according to policy.

targets
Array of strings

The target arrays to replicate created snapshots to. Only valid when send is true.

Request Body schema: application/json
suffix
string

The suffix of the snapshot, e.g., snap1.

Responses

Request samples

Content type
application/json
{
  • "suffix": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE file-system-snapshots

Delete a file system snapshot.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

PATCH file-system-snapshots

Modify file system snapshot attributes.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

latest_replica
boolean

Used when destroying a snapshot. If not present or false, and the snapshot is the latest replicated snapshot, then destroy will fail. If true or the snapshot is not the latest replicated snapshot, then destroy will be successful.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
name
string

A name chosen by the user. Can be changed. Must be locally unique.

destroyed
boolean

Is the file system snapshot destroyed? If not specified, defaults to false.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "destroyed": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET file-system-snapshots/policies

List file system snapshots mapped to snapshot scheduling policies.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

DELETE file-system-snapshots/policies

Remove snapshot scheduling policies from a file system.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

GET file-system-snapshots/transfer

List file system snapshot transfers from the source array to the target array.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names_or_owner_names
Array of strings

A comma-separated list of resource names. Either the names of the snapshots or the owning file systems.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": {
    }
}

DELETE file-system-snapshots/transfer

Delete file system snapshot transfers from the source array to the target array.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

Responses

Hardware

Manages hardware components. List information about array hardware components that are capable of reporting their status. The display is primarily useful for diagnosing hardware-related problems.

GET hardware

List hardware slots and bays and the status of installed components.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH hardware

Controls the visual identification light of the specified hardware component.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
identify_enabled
boolean

State of an LED used to visually identify the component.

Responses

Request samples

Content type
application/json
{
  • "identify_enabled": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Hardware Connectors

Manages the port connector attributes on the array. Lane speeds and port count attributes can be configured.

GET hardware-connectors

List array connection information.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH hardware-connectors

Modify array connection information.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
lane_speed
integer <int64>

Configured speed of each lane in the connector in bits-per-second.

port_count
integer <int64>

Configured number of ports in the connector (1/4 for QSFP).

Responses

Request samples

Content type
application/json
{
  • "lane_speed": 10000000000,
  • "port_count": 1
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET hardware-connectors/performance

Displays network statistics, historical bandwidth, and error reporting for all specified hardware connectors.

Authorizations:
query Parameters
end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": [
    ]
}

Keytabs

Keytab management functionality for Kerberos authentication.

GET keytabs

List a Kerberos keytab file and its configuration information.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

DELETE keytabs

Delete a Kerberos keytab file.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

POST keytabs

Import a Kerberos keytab file from a Key Distribution Center.

Authorizations:
query Parameters
name_prefixes
string

The prefix to use for the names of all Kerberos keytab objects that are being created.

Request Body schema: application/json
object

A reference to the Active Directory configuration for the computer account whose keys will be rotated in order to create new keytabs for all of its registered service principal names.

Responses

Request samples

Content type
application/json
{
  • "source": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET keytabs/download

Download a Kerberos keytab file. The file can be downloaded in the native binary format or a base64 encoded format. If not specified, defaults to binary.

Authorizations:
query Parameters
keytab_ids
Array of strings

A comma-separated list of keytab IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the keytab_names query parameter.

keytab_names
Array of strings

A comma-separated list of keytab names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with keytab_ids query parameter.

Responses

POST keytabs/upload

Upload a Kerberos keytab file to the array. The file can be uploaded in the native binary format or a base64 encoded format. If not specified, defaults to binary. The procedure to upload a file may vary depending on the type of REST client.

Authorizations:
query Parameters
name_prefixes
string

The prefix to use for the names of all Kerberos keytab objects that are being created.

Request Body schema: multipart/form-data
One of
string <binary> (KeytabFileBinary)

A binary keytab file. On creation, multiple keytab entries may be provided as one file, and they will be split to create multiple keytab objects. Each object will represent a single entry from the file.

Responses

KMIP

Manages KMIP server configurations and performs connectivity and functionality tests.

List KMIP server configurations

Displays a list of KMIP server configurations.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Create a KMIP server configuration

Creates a KMIP server configuration.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
uris
Array of strings non-empty [ 1 .. 30 ] items

List of URIs for the configured KMIP servers in the format [protocol://]hostname:port.

object

CA certificate used to validate the authenticity of the configured servers.

object

A certificate group containing CA certificates that can be used to validate the authenticity of the configured servers.

Responses

Request samples

Content type
application/json
{
  • "uris": [
    ],
  • "ca_certificate": {
    },
  • "ca_certificate_group": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Modify a KMIP server configuration

Modifies KMIP server properties - URI, certificate, certificate group.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

Request Body schema: application/json
uris
Array of strings non-empty [ 1 .. 30 ] items

List of URIs for the configured KMIP servers in the format [protocol://]hostname:port.

object

CA certificate used to validate the authenticity of the configured servers.

object

A certificate group containing CA certificates that can be used to validate the authenticity of the configured servers.

Responses

Request samples

Content type
application/json
{
  • "uris": [
    ],
  • "ca_certificate": {
    },
  • "ca_certificate_group": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Delete a KMIP server configuration

Deletes a KMIP server configuration. A server can only be deleted when not in use by the array.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

Responses

Displays KMIP server test results

Displays a detailed result of of KMIP server test.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Lifecycle Rules

A life cycle rule helps manage the number of copies of a specific bucket. A lifecycle rule can be applied to a bucket with a rule indicating the retention time before it is to be deleted.

GET lifecycle-rules

Returns a list of lifecycle rules. If names is specified, list the individual rules. If ids is specified, bucket_names or bucket_ids is also required. If bucket_names or bucket_ids are specified without ids, list all the rules for the bucket.

Authorizations:
query Parameters
bucket_ids
Array of strings

A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

bucket_names
Array of strings

A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST lifecycle-rules

Creates a lifecycle rule. bucket and keep_previous_version_for are required. If rule_id is not specified, it will be automatically generated in the format "fbRuleIdX".

Authorizations:
query Parameters
confirm_date
boolean

If set to true, then confirm the date of keep_current_version_until is correct.

Request Body schema: application/json
object

The bucket name for lifecycle rule creation.

rule_id
string

Identifier for the rule that is unique to the bucket that it applies to. Can have a maximum length of 255 characters. If not specified, an id unique to the bucket will be generated in the format fbRuleId<number> where number increments, starting at 1.

keep_previous_version_for
integer <int64>

Time after which previous versions will be marked expired. Measured in milliseconds. Must be a multiple of 86400000 to represent a whole number of days.

prefix
string

Object key prefix identifying one or more objects in the bucket. Can have a maximum length of 1024 characters.

abort_incomplete_multipart_uploads_after
integer <int64>

Duration of time after which incomplete multipart uploads will be aborted. Measured in milliseconds. Must be a multiple of 86400000 to represent a whole number of days.

keep_current_version_for
integer <int64>

Time after which current versions will be marked expired. Measured in milliseconds. Must be a multiple of 86400000 to represent a whole number of days.

keep_current_version_until
integer <int64>

Time after which current versions will be marked expired. Measured in milliseconds, time since epoch. Must be a valid date, accurate to day.

Responses

Request samples

Content type
application/json
{
  • "abort_incomplete_multipart_uploads_after": 86400000,
  • "keep_current_version_for": 86400000,
  • "keep_current_version_until": 1636588800000
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH lifecycle-rules

Modify an existing lifecycle rule by name or id. If ids is specified, bucket_names or bucket_ids is also required.

Authorizations:
query Parameters
bucket_ids
Array of strings

A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

bucket_names
Array of strings

A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

confirm_date
boolean

If set to true, then confirm the date of keep_current_version_until is correct.

Request Body schema: application/json
enabled
boolean

If set to true, this rule will be enabled.

keep_previous_version_for
integer <int64>

Time after which previous versions will be marked expired. Measured in milliseconds. Must be a multiple of 86400000 to represent a whole number of days.

prefix
string

Object key prefix identifying one or more objects in the bucket. Can have a maximum length of 1024 characters.

abort_incomplete_multipart_uploads_after
integer <int64>

Duration of time after which incomplete multipart uploads will be aborted. Measured in milliseconds. Must be a multiple of 86400000 to represent a whole number of days.

keep_current_version_for
integer <int64>

Time after which current versions will be marked expired. Measured in milliseconds. Must be a multiple of 86400000 to represent a whole number of days.

keep_current_version_until
integer <int64>

Time after which current versions will be marked expired. Measured in milliseconds, time since epoch. Must be a valid date, accurate to day.

Responses

Request samples

Content type
application/json
{
  • "abort_incomplete_multipart_uploads_after": 86400000,
  • "keep_current_version_for": 86400000,
  • "keep_current_version_until": 1636588800000
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE lifecycle-rules

Deletes individual lifecycle rules by name or id, or deletes all rules for a bucket. If ids is specified, bucket_names or bucket_ids is also required. If bucket_names or bucket_ids are specified without ids, delete all the rules for the bucket.

Authorizations:
query Parameters
bucket_ids
Array of strings

A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

bucket_names
Array of strings

A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Logs

The array collects a log of command activities that can be used for analysis when the logs are sent to Pure Technical Services.

GET logs

Download a history of log events from the array to provide to Pure Technical Services for analysis.

Authorizations:
query Parameters
end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

Responses

Response samples

Content type
No sample

GET logs-async

List the attributes and status of preparation for a history of log events from the array to provide to Pure Technical Services for analysis.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH logs-async

Start the preparation for a history of log events from the array to provide to Pure Technical Services for analysis.

Authorizations:
Request Body schema: application/json
start_time
integer <int64> >= 0

When the time window starts (in milliseconds since epoch). start_time and end_time determine the number of hours for which the logs are prepared for. At most 6 hours of logs can be prepared in one request. start_time and end_time are truncated to hour boundaries.

end_time
integer <int64> >= 0

When the time window ends (in milliseconds since epoch). start_time and end_time determine the number of hours for which the logs are prepared for. At most 6 hours of logs can be prepared in one request. start_time and end_time are truncated to hour boundaries.

Array of objects

All of the hardware components for which logs are being processed.

Responses

Request samples

Content type
application/json
{
  • "start_time": 1514764800000,
  • "end_time": 1514764800000,
  • "hardware_components": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET logs-async/download

Download the files which contain a history of log events from the array to provide to Pure Technical Services for analysis.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Response samples

Content type
No sample

Network Interfaces

Manages the interfaces and the network connection attributes of the array.

GET network-interfaces

List network interfaces and their attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST network-interfaces

Create a data VIP to export a file system.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
address
string

The IPv4 or IPv6 address to be associated with the specified network interface.

services
Array of strings

Services and protocols that are enabled on the interface.

type
string

The only valid value is vip.

Responses

Request samples

Content type
application/json
{
  • "address": "string",
  • "services": [
    ],
  • "type": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH network-interfaces

Modify the attributes of a data VIP.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
address
string

The IPv4 or IPv6 address to be associated with the specified network interface.

services
Array of strings

Services and protocols that are enabled on the interface.

Responses

Request samples

Content type
application/json
{
  • "address": "string",
  • "services": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE network-interfaces

Remove a data VIP. Once removed, any clients connected through the data VIP will lose their connection to the file system.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Object Store Access Keys

Manages object store access keys. A maximum of two sets of keys can be created for each object store user. A set of keys consists of an access key ID and Secret Access Key.

GET object-store-access-keys

List object store access keys.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST object-store-access-keys

Create or import object store access keys.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names to import. To import a set of credentials, this field must be specified with the secret_access_key body parameter. If both of these are not specified, the system will generate a new set of credentials.

Request Body schema: application/json
object

An ordinary (as opposed to built-in) resource that can be created, named, renamed or deleted by the user. This might be a virtual resource (e.g., a volume), or correspond to something in the environment, like a host or a server.

secret_access_key
string

The secret access key to import from another FlashBlade. To import a set of credentials, this field must be specified with the names query parameter. If both of these not specified, the system will generate a new set of credentials.

Responses

Request samples

Content type
application/json
{
  • "user": {
    },
  • "secret_access_key": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH object-store-access-keys

Enable or disable object store access keys.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
enabled
boolean

Is the access key enabled? If not specified, defaults to false.

Responses

Request samples

Content type
application/json
{
  • "enabled": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-access-keys

Delete an object store access key. Once an access key has been deleted, it cannot be recovered.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Responses

Object Store Accounts

Manages object store accounts. Accounts contain buckets and users. Accounts must be created before an object store user or buckets can be created.

GET object-store-accounts

List object store accounts and their attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": {
    }
}

POST object-store-accounts

Create an object store account.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-accounts

Delete an object store account.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Object Store Remote Credentials

Manages remote credentials for remote objects. Remote credentials contain access information that can be reused for multiple objects.

GET object-store-remote-credentials

List object store remote credentials used by bucket replica links to access buckets on remote arrays or targets.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST object-store-remote-credentials

Create object store remote credentials to set up bucket replicat links to a remote array or target.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
access_key_id
string

Access Key ID to be used when connecting to a remote object store.

secret_access_key
string

Secret Access Key to be used when connecting to a remote object store.

Responses

Request samples

Content type
application/json
{
  • "access_key_id": "PSFBIKZFCAAAKOEJ",
  • "secret_access_key": "0BEC00003+b1228C223c0FbF1ab5e4GICJGBPJPEOLJCD"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH object-store-remote-credentials

Rename and/or change the access key/secret key pair for object store remote credentials.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
name
string

A name chosen by the user. Can be changed. Must be locally unique.

access_key_id
string

Access Key ID to be used when connecting to a remote object store.

secret_access_key
string

Secret Access Key to be used when connecting to a remote object store.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "access_key_id": "PSFBIKZFCAAAKOEJ",
  • "secret_access_key": "0BEC00003+b1228C223c0FbF1ab5e4GICJGBPJPEOLJCD"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-remote-credentials

Delete object store remote credentials.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Object Store Users

Manages the object store users attributes. Each user is assigned to an object store account and given an access key.

GET object-store-users

List object store users and their attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST object-store-users

Create object store users to administer object storage for an object store account.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

full_access
boolean

If set to true, creates an object store user with full permissions. If set to false, creates an object store user with no permission. If not specified, defaults to false.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-users

Delete an object store user.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

GET object-store-users/object-store-access-policies

List object store users and their access policies.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST object-store-users/object-store-access-policies

Grant access policies to an object store user.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-users/object-store-access-policies

Revoke an object store user’s access policy.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

Object Store Virtual Hosts

Manages virtual host-style addressing for S3 requests to read or write an object within a bucket on the array.

GET object-store-virtual-hosts

List object store virtual hosts.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST object-store-virtual-hosts

Create an object store virtual host. An example of a hostname is buckethost.example.com. A hostname cannot exceed 255 characters in length, it cannot be an IP address, only 10 hostnames are supported, supersets or subsets of existing hostnames with the same root are not allowed. The default hostname is s3.amazonaws.com and it cannot be deleted.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-virtual-hosts

Delete an object store virtual host.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Policies (All)

Displays general information for all available types of policies and their members.

GET policies-all

List all policies of all types.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET policies-all/members

List policies (of all types) mapped to other entities (file systems, snapshots, file system replica links, and object store users).

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

member_types
Array of strings

A comma-separated list of member types. Valid values are file-systems, file-system-snapshots, file-system-replica-links, and object-store-users. Different endpoints may accept different subsets of these values.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_file_system_ids
Array of strings

A comma-separated list of remote file system IDs. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_names query parameter.

remote_file_system_names
Array of strings

A comma-separated list of remote file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_ids query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Policies - NFS

Manages NFS export policies. These policies are composed of rules which govern a client's ability to access the exported filesystem.

GET nfs-export-policies

Displays a list of NFS export policies.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST nfs-export-policies

Create a new NFS export policy.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
enabled
boolean

If true, the policy is enabled. If not specified, defaults to true.

Array of objects <= 200 items

All of the rules that are part of this policy. The order is the evaluation order.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "enabled": true,
  • "rules": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH nfs-export-policies

Modify an existing NFS export policy's attributes.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

versions
Array of strings

A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn't match the value in the query param.

Request Body schema: application/json
name
string

A name chosen by the user. Can be changed. Must be locally unique.

enabled
boolean

If true, the policy is enabled. If not specified, defaults to true.

Array of objects <= 200 items

All of the rules that are part of this policy. The order is the evaluation order.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "enabled": true,
  • "rules": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE nfs-export-policies

Delete one or more NFS export policies.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

versions
Array of strings

A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn't match the value in the query param.

Responses

GET nfs-export-policies/rules

Displays a list of NFS export policy rules. The default sort is by policy name, then index.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST nfs-export-policies/rules

Add a NFS export policy rule. Rules are ordered in three groups; ip addresses, other and *. The new rule will be added at the end of the appropriate group if neither before_rule_id and before_rule_name are specified. Rules can only be inserted into the appropriate group. Either policy_ids or policy_names parameter is required.

Authorizations:
query Parameters
before_rule_id
string

The id of the rule to insert or move a rule before. This cannot be provided together with the before_rule_name query parameter.

before_rule_name
string

The name of the rule to insert or move a rule before. This cannot be provided together with the before_rule_id query parameter.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

versions
Array of strings

A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn't match the value in the query param.

Request Body schema: application/json
access
string

Specifies access control for the export. Valid values are root-squash, all-squash, and no-squash. root-squash prevents client users and groups with root privilege from mapping their root privilege to a file system. All users with UID 0 will have their UID mapped to anonuid. All users with GID 0 will have their GID mapped to anongid. all-squash maps all UIDs (including root) to anonuid and all GIDs (including root) to anongid. no-squash allows users and groups to access the file system with their UIDs and GIDs. The default is root-squash if not specified.

anongid
string

Any user whose GID is affected by an access of root_squash or all_squash will have their GID mapped to anongid. The default anongid is null, which means 65534. Use "" to clear.

anonuid
string

Any user whose UID is affected by an access of root_squash or all_squash will have their UID mapped to anonuid. The default anonuid is null, which means 65534. Use "" to clear.

atime
boolean

If true, after a read operation has occurred, the inode access time is updated only if any of the following conditions is true: the previous access time is less than the inode modify time, the previous access time is less than the inode change time, or the previous access time is more than 24 hours ago. If false, disables the update of inode access times after read operations. Defaults to true.

client
string

Specifies the clients that will be permitted to access the export. Accepted notation is a single IP address, subnet in CIDR notation, netgroup, or anonymous (*). The default is * if not specified.

fileid_32bit
boolean

Whether the file id is 32 bits or not. Defaults to false.

permission
string

Specifies which read-write client access permissions are allowed for the export. Valid values are rw and ro. The default is ro if not specified.

secure
boolean

If true, prevents NFS access to client connections coming from non-reserved ports. Applies to NFSv3, NFSv4.1, and auxiliary protocols MOUNT and NLM. If false, allows NFS access to client connections coming from non-reserved ports. Applies to NFSv3, NFSv4.1, and auxiliary protocols MOUNT and NLM. The default is false if not specified.

security
Array of strings

The security flavors to use for accessing files on this mount point. If the server does not support the requested flavor, the mount operation fails. If sys, trusts the client to specify user's identity. If krb5, provides cryptographic proof of a user's identity in each RPC request. This provides strong verification of the identity of users accessing data on the server. Note that additional configuration besides adding this mount option is required in order to enable Kerberos security. If krb5i, adds integrity checking to krb5, to ensure the data has not been tampered with. If krb5p, adds integrity checking and encryption to krb5. This is the most secure setting, but it also involves the most performance overhead. The default is sys if not specified.

index
integer <int32>

The index within the policy. The index indicates the order the rules are evaluated. NOTE: It is recommended to use the query param before_rule_id to do reordering to avoid concurrency issues, but changing index is also supported. index can not be changed if before_rule_id or before_rule_name are specified.

Responses

Request samples

Content type
application/json
{
  • "access": "string",
  • "anongid": 65530,
  • "anonuid": 65530,
  • "atime": true,
  • "client": "string",
  • "fileid_32bit": true,
  • "permission": "string",
  • "secure": true,
  • "security": [
    ],
  • "index": 0
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE nfs-export-policies/rules

Delete one or more NFS export policy rules. One of the following is required: ids or names.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

versions
Array of strings

A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn't match the value in the query param.

Responses

PATCH nfs-export-policies/rules

Modify an existing NFS export policy rule. If before_rule_id or before_rule_name are specified, the rule will be moved before that rule. Rules are ordered in three groups; ip addresses, other and * and can only be moved within the appropriate group. One of the following is required: ids or names.

Authorizations:
query Parameters
before_rule_id
string

The id of the rule to insert or move a rule before. This cannot be provided together with the before_rule_name query parameter.

before_rule_name
string

The name of the rule to insert or move a rule before. This cannot be provided together with the before_rule_id query parameter.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

versions
Array of strings

A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn't match the value in the query param.

Request Body schema: application/json
access
string

Specifies access control for the export. Valid values are root-squash, all-squash, and no-squash. root-squash prevents client users and groups with root privilege from mapping their root privilege to a file system. All users with UID 0 will have their UID mapped to anonuid. All users with GID 0 will have their GID mapped to anongid. all-squash maps all UIDs (including root) to anonuid and all GIDs (including root) to anongid. no-squash allows users and groups to access the file system with their UIDs and GIDs. The default is root-squash if not specified.

anongid
string

Any user whose GID is affected by an access of root_squash or all_squash will have their GID mapped to anongid. The default anongid is null, which means 65534. Use "" to clear.

anonuid
string

Any user whose UID is affected by an access of root_squash or all_squash will have their UID mapped to anonuid. The default anonuid is null, which means 65534. Use "" to clear.

atime
boolean

If true, after a read operation has occurred, the inode access time is updated only if any of the following conditions is true: the previous access time is less than the inode modify time, the previous access time is less than the inode change time, or the previous access time is more than 24 hours ago. If false, disables the update of inode access times after read operations. Defaults to true.

client
string

Specifies the clients that will be permitted to access the export. Accepted notation is a single IP address, subnet in CIDR notation, netgroup, or anonymous (*). The default is * if not specified.

fileid_32bit
boolean

Whether the file id is 32 bits or not. Defaults to false.

permission
string

Specifies which read-write client access permissions are allowed for the export. Valid values are rw and ro. The default is ro if not specified.

secure
boolean

If true, prevents NFS access to client connections coming from non-reserved ports. Applies to NFSv3, NFSv4.1, and auxiliary protocols MOUNT and NLM. If false, allows NFS access to client connections coming from non-reserved ports. Applies to NFSv3, NFSv4.1, and auxiliary protocols MOUNT and NLM. The default is false if not specified.

security
Array of strings

The security flavors to use for accessing files on this mount point. If the server does not support the requested flavor, the mount operation fails. If sys, trusts the client to specify user's identity. If krb5, provides cryptographic proof of a user's identity in each RPC request. This provides strong verification of the identity of users accessing data on the server. Note that additional configuration besides adding this mount option is required in order to enable Kerberos security. If krb5i, adds integrity checking to krb5, to ensure the data has not been tampered with. If krb5p, adds integrity checking and encryption to krb5. This is the most secure setting, but it also involves the most performance overhead. The default is sys if not specified.

index
integer <int32>

The index within the policy. The index indicates the order the rules are evaluated. NOTE: It is recommended to use the query param before_rule_id to do reordering to avoid concurrency issues, but changing index is also supported. index can not be changed if before_rule_id or before_rule_name are specified.

Responses

Request samples

Content type
application/json
{
  • "access": "string",
  • "anongid": 65530,
  • "anonuid": 65530,
  • "atime": true,
  • "client": "string",
  • "fileid_32bit": true,
  • "permission": "string",
  • "secure": true,
  • "security": [
    ],
  • "index": 0
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Policies - Object Store Access

Manages access policies for object store users. Administrators can assign policies to users for managing buckets and objects.

GET object-store-access-policies

List access policies and their attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

exclude_rules
boolean

If true, the rules field in each policy will be null. If false, each returned policy will include its list of rules in the response. If not specified, defaults to false.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST object-store-access-policies

Create a new access policy.

Authorizations:
query Parameters
enforce_action_restrictions
boolean

Certain combinations of actions and other rule elements are inherently ignored if specified together in a rule. If set to true, operations which attempt to set these combinations will fail. If set to false, such operations will instead be allowed. Defaults to true.

names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
Array of objects
description
string

A description of the policy, optionally specified when the policy is created. Cannot be modified for an existing policy.

Responses

Request samples

Content type
application/json
null

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH object-store-access-policies

Modify the rules of an object store access policy.

Authorizations:
query Parameters
enforce_action_restrictions
boolean

Certain combinations of actions and other rule elements are inherently ignored if specified together in a rule. If set to true, operations which attempt to set these combinations will fail. If set to false, such operations will instead be allowed. Defaults to true.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
Array of objects

Responses

Request samples

Content type
application/json
null

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-access-policies

Delete one or more access policies.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

GET object-store-access-policies/object-store-users

List object store users and their access policies.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST object-store-access-policies/object-store-users

Grant access policies to an object store user.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-access-policies/object-store-users

Revokes an object store user's access policy.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

GET object-store-access-policies-rules

List access policy rules and their attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST object-store-access-policies-rules

Create a new access policy rule.

Authorizations:
query Parameters
enforce_action_restrictions
boolean

Certain combinations of actions and other rule elements are inherently ignored if specified together in a rule. If set to true, operations which attempt to set these combinations will fail. If set to false, such operations will instead be allowed. Defaults to true.

names
required
Array of strings

A comma-separated list of resource names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Request Body schema: application/json
actions
Array of strings

The list of actions granted by this rule. Each included action may restrict other properties of the rule. Supported actions are returned by the /object-store-access-policy-actions endpoint.

object

Conditions used to limit the scope which this rule applies to.

resources
Array of strings

The list of resources which this rule applies to. Each resource can include a bucket component, optionally followed by an object component. The choice of which components a resource can include is dictated by which actions are included in the rule. For further details, see the Object Store Access Policy Actions section of the User Guide.

Responses

Request samples

Content type
application/json
{
  • "actions": [
    ],
  • "conditions": {
    },
  • "resources": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH object-store-access-policies-rules

Modify an access policy rule's attributes.

Authorizations:
query Parameters
enforce_action_restrictions
boolean

Certain combinations of actions and other rule elements are inherently ignored if specified together in a rule. If set to true, operations which attempt to set these combinations will fail. If set to false, such operations will instead be allowed. Defaults to true.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Request Body schema: application/json
actions
Array of strings

The list of actions granted by this rule. Each included action may restrict other properties of the rule. Supported actions are returned by the /object-store-access-policy-actions endpoint.

object

Conditions used to limit the scope which this rule applies to.

resources
Array of strings

The list of resources which this rule applies to. Each resource can include a bucket component, optionally followed by an object component. The choice of which components a resource can include is dictated by which actions are included in the rule. For further details, see the Object Store Access Policy Actions section of the User Guide.

Responses

Request samples

Content type
application/json
{
  • "actions": [
    ],
  • "conditions": {
    },
  • "resources": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE object-store-access-policies-rules

Delete one or more access policy rules.

Authorizations:
query Parameters
names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

GET object-store-access-policy-actions

List valid actions for access policy rules. Each action is either a valid AWS S3 action (prefixed by s3:) or our special wildcard action (s3:*). Each action, when included in a rule, may restrict which other properties may be set for that rule.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Policies - Snapshot

A snapshot policy manages the creation file system snapshots or it can applied to file system and object replication links for replication. These policies provide the user a way to control the frequency of creating snapshots and objects, and the retention time for each copy. A snapshot policy can be applied to one or more file systems, objects, or replication links.

GET policies

Display snapshot scheduling policies and their attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST policies

Create a new snapshot scheduling policy with rule attributes to capture file system snapshots for a set period of time and frequency, as well as how long snapshots are retained before being destroyed and eradicated.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
enabled
boolean

If true, the policy is enabled. If not specified, defaults to true.

Array of objects

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "enabled": true,
  • "rules": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE policies

Delete one or more snapshot scheduling policies.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

PATCH policies

Modify a snapshot scheduling policy’s attributes for when and how often snapshots are created and how long they are retained.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

destroy_snapshots
boolean

This parameter must be set to true in order to modify a policy such that local or remote snapshots would be destroyed.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
enabled
boolean

If true, the policy is enabled. If not specified, defaults to true.

Array of objects
Array of objects
Array of objects

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "enabled": true,
  • "rules": [
    ],
  • "add_rules": [
    ],
  • "remove_rules": [
    ]
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET policies/file-systems

List file systems mapped to a snapshot scheduling policy.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST policies/file-systems

Map a file system to a snapshot scheduling policy.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE policies/file-systems

Remove the snapshot scheduling policy mapped to a file system.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

GET policies/file-system-snapshots

List file system snapshots mapped to a snapshot scheduling policy.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

DELETE policies/file-system-snapshots

Remove the snapshot scheduling policy mapped to a file system.

Authorizations:
query Parameters
member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

Responses

GET policies/members

List snapshot scheduling policies mapped to file systems, snapshots, and file system replica links.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

member_names
Array of strings

A comma-separated list of member names.

member_types
Array of strings

A comma-separated list of member types. Valid values are file-systems, file-system-snapshots, file-system-replica-links, and object-store-users. Different endpoints may accept different subsets of these values.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_file_system_ids
Array of strings

A comma-separated list of remote file system IDs. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_names query parameter.

remote_file_system_names
Array of strings

A comma-separated list of remote file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_ids query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET policies/file-system-replica-links

List snapshot scheduling policies for file system replica links.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_file_system_ids
Array of strings

A comma-separated list of remote file system IDs. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_names query parameter.

remote_file_system_names
Array of strings

A comma-separated list of remote file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_file_system_ids query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST policies/file-system-replica-links

Add a snapshot scheduling policy to a file system replica link.

Authorizations:
query Parameters
local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE policies/file-system-replica-links

Remove a snapshot scheduling policy mapped to a file system replica link.

Authorizations:
query Parameters
local_file_system_ids
Array of strings

A comma-separated list of local file system IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_file_system_names query parameter.

local_file_system_names
Array of strings

A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

member_ids
Array of strings

A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

policy_ids
Array of strings

A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

policy_names
Array of strings

A comma-separated list of policy names.

remote_ids
Array of strings

A comma-separated list of remote array IDs. If after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_names query parameter.

remote_names
Array of strings

A comma-separated list of remote array names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

Responses

Quotas

A quota manages a set amount of space on a file system which a user or group may write to. A quota can be applied to a user or group of a specified file system. Once a user or group reaches their quota they will no longer be able to write to that file system.

GET quotas/groups

List groups with hard limit quotas.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

filter
string

Exclude resources that don't match the specified criteria.

gids
Array of integers <int32>

A comma-separated list of group IDs. If there is not at least one resource that matches each of the elements of gids, then an error is returned. This cannot be provided together with group_names query parameter.

group_names
Array of strings

A comma-separated list of group names. If there is not at least one resource that matches each of the elements of group_names, then an error is returned. This cannot be provided together with gids query parameter.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST quotas/groups

Create a hard limit quota for a group.

Authorizations:
query Parameters
file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

gids
Array of integers <int32>

A comma-separated list of group IDs. If there is not at least one resource that matches each of the elements of gids, then an error is returned. This cannot be provided together with group_names query parameter.

group_names
Array of strings

A comma-separated list of group names. If there is not at least one resource that matches each of the elements of group_names, then an error is returned. This cannot be provided together with gids query parameter.

Request Body schema: application/json
quota
required
integer <int64>

The space limit of the quota (in bytes) for the specified group, cannot be 0. If specified, this value will override the file system's default group quota.

Responses

Request samples

Content type
application/json
{
  • "quota": 0
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE quotas/groups

Delete a hard limit quota for a group.

Authorizations:
query Parameters
file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

gids
Array of integers <int32>

A comma-separated list of group IDs. If there is not at least one resource that matches each of the elements of gids, then an error is returned. This cannot be provided together with group_names query parameter.

group_names
Array of strings

A comma-separated list of group names. If there is not at least one resource that matches each of the elements of group_names, then an error is returned. This cannot be provided together with gids query parameter.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

PATCH quotas/groups

Modify a quota for a group. Note that if you modify a group's quota to a lower value and that group's usage has already exceeded the new value, writes will automatically halt until usage decreases below the new quota setting.

Authorizations:
query Parameters
file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

gids
Array of integers <int32>

A comma-separated list of group IDs. If there is not at least one resource that matches each of the elements of gids, then an error is returned. This cannot be provided together with group_names query parameter.

group_names
Array of strings

A comma-separated list of group names. If there is not at least one resource that matches each of the elements of group_names, then an error is returned. This cannot be provided together with gids query parameter.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
quota
required
integer <int64>

The space limit of the quota (in bytes) for the specified group, cannot be 0. If specified, this value will override the file system's default group quota.

Responses

Request samples

Content type
application/json
{
  • "quota": 0
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET quotas-settings

List notification attributes of a group or user quota.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH quotas-settings

Modify the notification attributes of a group or user quota.

Authorizations:
Request Body schema: application/json
contact
string

The contact information that will be provided in any notifications sent directly to users and groups. This can be an email, a phone number, a name, or some other form of contact information.

direct_notifications_enabled
boolean

Are notifications regarding space usage and quotas being sent directly to user and group emails?

Responses

Request samples

Content type
application/json
{
  • "contact": "John Doe, john@example.com",
  • "direct_notifications_enabled": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET quotas/users

List users with hard limit file system quotas.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

uids
Array of integers <int32>

A comma-separated list of user IDs. If there is not at least one resource that matches each of the elements of uids, then an error is returned. This cannot be provided together with user_names query parameter.

user_names
Array of strings

A comma-separated list of user names. If there is not at least one resource that matches each of the elements of user_names, then an error is returned. This cannot be provided together with uids query parameter.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST quotas/users

Create a hard limit file system quota for a user.

Authorizations:
query Parameters
file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

uids
Array of integers <int32>

A comma-separated list of user IDs. If there is not at least one resource that matches each of the elements of uids, then an error is returned. This cannot be provided together with user_names query parameter.

user_names
Array of strings

A comma-separated list of user names. If there is not at least one resource that matches each of the elements of user_names, then an error is returned. This cannot be provided together with uids query parameter.

Request Body schema: application/json
quota
required
integer <int64>

The limit of the quota (in bytes) for the specified user, cannot be 0. If specified, this value will override the file system's default user quota.

Responses

Request samples

Content type
application/json
{
  • "quota": 0
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE quotas/users

Delete a hard limit file system quota for a user.

Authorizations:
query Parameters
file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

uids
Array of integers <int32>

A comma-separated list of user IDs. If there is not at least one resource that matches each of the elements of uids, then an error is returned. This cannot be provided together with user_names query parameter.

user_names
Array of strings

A comma-separated list of user names. If there is not at least one resource that matches each of the elements of user_names, then an error is returned. This cannot be provided together with uids query parameter.

Responses

PATCH quotas/users

Modify the attributes of a hard limit file system quota. Note that if you modify a user's quota to a lower value and that user’s usage has already exceeded the new value, writes will automatically halt until usage decreases below the new quota setting.

Authorizations:
query Parameters
file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

uids
Array of integers <int32>

A comma-separated list of user IDs. If there is not at least one resource that matches each of the elements of uids, then an error is returned. This cannot be provided together with user_names query parameter.

user_names
Array of strings

A comma-separated list of user names. If there is not at least one resource that matches each of the elements of user_names, then an error is returned. This cannot be provided together with uids query parameter.

Request Body schema: application/json
quota
required
integer <int64>

The limit of the quota (in bytes) for the specified user, cannot be 0. If specified, this value will override the file system's default user quota.

Responses

Request samples

Content type
application/json
{
  • "quota": 0
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

RDL

Displays Rapid Data Locking (RDL) configuration and performs functionality tests of the associated Enterprise Key Management (EKM) servers.

Get the status of the Rapid Data Locking feature.

Displays the status of the Rapid Data Locking feature.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Modifies the Rapid Data Locking feature.

Modifies the Rapid Data Locking feature. Note that the feature can only be enabled if there are no file systems nor buckets created on the array. Once enabled, the feature cannot be modified.

Authorizations:
Request Body schema: application/json
enabled
boolean

True if the Rapid Data Locking feature is enabled.

object

The KMIP server configuration associated with RDL.

Responses

Request samples

Content type
application/json
{
  • "enabled": true,
  • "kmip_server": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Displays Rapid Data Locking test results.

Displays a detailed result of a Rapid Data Locking test.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Rotates the external keys on the associated EKM appliance.

Rotates the external keys on the associated EKM appliance.

Authorizations:

Responses

Roles

Displays role attributes. Each user of the array is assigned to a role and each role has a set of role based access controls (RBAC). The roles (array_admin, storage_admin, ops_admin, readonly, and Invalid - multiple roles) have a specified set of permissions that allow certain actions to be performed on the array. Each role includes a listing REST actions allowable for each endpoint.

GET roles

List roles and permission attributes for role-based access control (RBAC).

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

Sessions

Displays Purity//FB login and user session data.

List session data

Displays session data for user login events performed in the Purity//FB GUI, CLI, and REST API.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

SMTP

Manages Simple Mail Transfer Protocol (SMTP) settings. SMTP allows the array to send email notifications and alerts to recipients.

GET smtp-servers

List SMTP server attributes for the array network.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH smtp-servers

Modify SMTP server attributes such as the relay host and sender domain.

Authorizations:
Request Body schema: application/json
relay_host
string

Relay server used as a forwarding point for email sent from the array. Can be set as a hostname, IPv4 address, or IPv6 address, with optional port numbers. The expected format for IPv4 is ddd.ddd.ddd.ddd:PORT. The expected format for IPv6 is xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx, or if a port number is specified, [xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx]:PORT.

sender_domain
string

Domain name appended to alert email messages.

Responses

Request samples

Content type
application/json
{
  • "relay_host": "string",
  • "sender_domain": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

SNMP Agents

Manages the Simple Network Management Protocol (SNMP) agents and displays the Management Information Base (MIB) file. The SNMP agent sends array component status information and alerts to the SNMP manager. The MIB file lists all manageable modules of the array.

GET snmp-agents

List SNMP agent attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH snmp-agents

Modify SNMP agent attributes.

Authorizations:
Request Body schema: application/json
version
string

Version of the SNMP protocol to be used by an SNMP manager in communications with Purity's SNMP agent. Valid values are v2c and v3.

object

The v2c configurations of SNMP.

object

The v3 configurations of SNMP.

Responses

Request samples

Content type
application/json
{
  • "version": "v3",
  • "v2c": {
    },
  • "v3": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET snmp-agents-mib

List the SNMP MIB text.

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

SNMP Managers

Manages the Simple Network Management Protocol (SNMP) managers, including performing functionality tests. The SNMP manager receives array component status information and alerts from the SNMP agent.

GET snmp-managers

List SNMP managers and their attributes.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST snmp-managers

Create an SNMP manager.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
host
string

DNS hostname or IP address of a computer that hosts an SNMP manager to which Purity is to send trap messages when it generates alerts.

notification
string

The type of notification the agent will send. Valid values are inform and trap.

version
string

Version of the SNMP protocol to be used by Purity in communications with the specified manager. Valid values are v2c and v3.

object

The v2c configurations of SNMP.

object

The v3 configurations of SNMP.

Responses

Request samples

Content type
application/json
{
  • "host": "snmp.purestorage.com",
  • "notification": "trap",
  • "version": "v3",
  • "v2c": {
    },
  • "v3": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH snmp-managers

Modify SNMP manager attributes such as versions.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
name
string

A name chosen by the user. Can be changed. Must be locally unique.

host
string

DNS hostname or IP address of a computer that hosts an SNMP manager to which Purity is to send trap messages when it generates alerts.

notification
string

The type of notification the agent will send. Valid values are inform and trap.

version
string

Version of the SNMP protocol to be used by Purity in communications with the specified manager. Valid values are v2c and v3.

object

The v2c configurations of SNMP.

object

The v3 configurations of SNMP.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "host": "snmp.purestorage.com",
  • "notification": "trap",
  • "version": "v3",
  • "v2c": {
    },
  • "v3": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE snmp-managers

Remove an SNMP manager.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

GET snmp-managers/test

Test if the configuration of an SNMP manager is valid.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Subnets

Manages the subnets and VLANs used to organize the network interfaces.

GET subnets

List the array’s subnets.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST subnets

Create an array subnet.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
gateway
string

The IPv4 or IPv6 address of the gateway through which the specified subnet is to communicate with the network.

object

Reference to the associated LAG.

mtu
integer <int32> [ 1280 .. 9216 ]

Maximum message transfer unit (packet) size for the subnet in bytes. MTU setting cannot exceed the MTU of the corresponding physical interface. If not specified, defaults to 1500.

prefix
string

The IPv4 or IPv6 address to be associated with the specified subnet.

vlan
integer <int32>

VLAN ID.

Responses

Request samples

Content type
application/json
{
  • "gateway": "string",
  • "link_aggregation_group": {
    },
  • "mtu": 1280,
  • "prefix": "string",
  • "vlan": 0
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH subnets

Modify array subnet attributes.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
gateway
string

The IPv4 or IPv6 address of the gateway through which the specified subnet is to communicate with the network.

object

Reference to the associated LAG.

mtu
integer <int32> [ 1280 .. 9216 ]

Maximum message transfer unit (packet) size for the subnet in bytes. MTU setting cannot exceed the MTU of the corresponding physical interface. If not specified, defaults to 1500.

prefix
string

The IPv4 or IPv6 address to be associated with the specified subnet.

vlan
integer <int32>

VLAN ID.

Responses

Request samples

Content type
application/json
{
  • "gateway": "string",
  • "link_aggregation_group": {
    },
  • "mtu": 1280,
  • "prefix": "string",
  • "vlan": 0
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE subnets

Remove an array subnet.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Support

Manages support configurations for the array, including performing functionality tests. The remote assist and phone home feature provides supplement information to Pure Technical Services to assist with customer issues.

GET support

List Phone Home and Remote Assistance settings.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH support

Modify Phone Home and Remote Assistance settings.

Authorizations:
Request Body schema: application/json
phonehome_enabled
boolean
proxy
string
remote_assist_active
boolean

The switch to open all remote-assist sessions.

Responses

Request samples

Content type
application/json
{
  • "phonehome_enabled": true,
  • "proxy": "string",
  • "remote_assist_active": true
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET support-test

Test if the Phone Home and Remote Assistance settings are functioning properly.

Authorizations:
query Parameters
filter
string

Exclude resources that don't match the specified criteria.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

test_type
string

Specify the type of test. Valid values are all, phonehome and remote-assist. If not specified, defaults to all.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Syslog

Manages syslog servers connected to the array, including performing functionality tests of syslog servers.

GET syslog-servers

Return a list of configured syslog servers.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST syslog-servers

Configure a new syslog server. Transmission of syslog messages is enabled immediately.

Authorizations:
query Parameters
names
Array of strings

Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.

Request Body schema: application/json
uri
string

The URI of the syslog server in the format PROTOCOL://HOSTNAME:PORT.

Responses

Request samples

Content type
application/json
{
  • "uri": "tcp://my.syslogserver.com"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH syslog-servers

Modify the URI of a configured syslog server.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.

Request Body schema: application/json
uri
string

The URI of the syslog server in the format PROTOCOL://HOSTNAME:PORT.

Responses

Request samples

Content type
application/json
{
  • "uri": "tcp://my.syslogserver.com"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE syslog-servers

Delete a configured syslog server and stop forwarding syslog messages.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.

Responses

GET syslog-servers/settings

List the certificate or certificate group associated with the syslog servers.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

PATCH syslog-servers/settings

Modify the certificate or certificate group associated with the syslog servers.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
object

An ordinary (as opposed to built-in) resource that can be created, named, renamed or deleted by the user. This might be a virtual resource (e.g., a volume), or correspond to something in the environment, like a host or a server.

object

An ordinary (as opposed to built-in) resource that can be created, named, renamed or deleted by the user. This might be a virtual resource (e.g., a volume), or correspond to something in the environment, like a host or a server.

Responses

Request samples

Content type
application/json
{
  • "ca_certificate": {
    },
  • "ca_certificate_group": {
    }
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

GET syslog-servers/test

Send test messages to conifgured remote syslog servers.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Targets

Manages targets for replication, including viewing the performance metrics of active replication operations.

GET targets

List targets used for replication.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

POST targets

Add a target for replication.

Authorizations:
query Parameters
names
required
Array of strings

A comma-separated list of resource names.

Request Body schema: application/json
address
string

IP address or FQDN of the target system.

Responses

Request samples

Content type
application/json
{
  • "address": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

PATCH targets

Modify the target attributes for replication.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Request Body schema: application/json
name
string

A name chosen by the user. Can be changed. Must be locally unique.

address
string

IP address or FQDN of the target system.

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "address": "string"
}

Response samples

Content type
application/json
{
  • "items": [
    ]
}

DELETE targets

Delete the connection to the target for replication.

Authorizations:
query Parameters
ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

Responses

GET targets/performance/replication

List replication performance metrics for targets.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

end_time
integer <int64> >= 0
Example: end_time=1514764800000

When the time window ends (in milliseconds since epoch).

filter
string

Exclude resources that don't match the specified criteria.

ids
Array of strings

A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

names
Array of strings

A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

resolution
integer <int64> >= 0
Example: resolution=30000

The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

start_time
integer <int64> >= 0
Example: start_time=1514764800000

When the time window starts (in milliseconds since epoch).

total_only
boolean

Only return the total record for the specified items. The total record will be the total of all items after filtering. The items list will be empty.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ],
  • "total": [
    ]
}

Usage

Displays the data usage and hard limit quotas for all users and groups on a file system.

GET usage/groups

List groups with hard limit quotas and their file system usage.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

filter
string

Exclude resources that don't match the specified criteria.

gids
Array of integers <int32>

A comma-separated list of group IDs. If there is not at least one resource that matches each of the elements of gids, then an error is returned. This cannot be provided together with group_names query parameter.

group_names
Array of strings

A comma-separated list of group names. If there is not at least one resource that matches each of the elements of group_names, then an error is returned. This cannot be provided together with gids query parameter.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}

GET usage/users

List users with hard limit quotas and their file system usage.

Authorizations:
query Parameters
continuation_token
string

An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result.

file_system_ids
Array of strings

A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

file_system_names
Array of strings

A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

filter
string

Exclude resources that don't match the specified criteria.

limit
integer <int32> >= 1
Example: limit=10

Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client's page size request.

offset
integer <int32> >= 0
Example: offset=10

The offset of the first resource to return from a collection.

sort
Array of strings

Sort the response by the specified fields (in descending order if '-' is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

uids
Array of integers <int32>

A comma-separated list of user IDs. If there is not at least one resource that matches each of the elements of uids, then an error is returned. This cannot be provided together with user_names query parameter.

user_names
Array of strings

A comma-separated list of user names. If there is not at least one resource that matches each of the elements of user_names, then an error is returned. This cannot be provided together with uids query parameter.

Responses

Response samples

Content type
application/json
{
  • "continuation_token": "string",
  • "total_item_count": 0,
  • "items": [
    ]
}