Retrieve Clusters

You can retrieve a list of all Network File Storage clusters in your contract. The number of results displayed on each page depends on the following values:

  • limit limits the number of response elements.

  • offset specifies the starting point within the collection of resource results returned from the server.

Additionally, you can also use a response filter (filter.datacenterId) to list only the clusters within the specified data center.

Endpoint

Use the regional endpoints to retrieve all clusters:

  • https://nfs.de-txl.ionos.com/clusters

  • https://nfs.de-fra.ionos.com/clusters

Request

Note: The following request contains sample values. Remember to replace them with the relevant information.

curl -X 'GET' \
  'https://nfs.de-txl.ionos.com/clusters?offset=0&limit=100' \
  -H 'accept: application/json'

To make authenticated requests to the API, the following fields are mandatory in the request header:

Header Parameters
Required
Type
Description

Authorization

yes

string

You can use Basic Authentication or a Bearer token. For more information, see Authentication.

Content-Type

yes

string

Set this to application/json.

Response

A 200 message confirms that a list of clusters is fetched.

Last updated

Was this helpful?