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.
Endpoints
Use a region-specific endpoint to retrieve all clusters: https://nfs.{region}.ionos.com/clusters
Request
Note: The following request contains sample values. Remember to replace them with the relevant information.
To make authenticated requests to the API, the following fields are mandatory in the request header:
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