Skip to main content

Nas_servers

post__nas_servers_create

Code samples

POST /nas_servers/create HTTP/1.1

Content-Type: application/json-patch+json
Accept: application/json

POST /nas_servers/create

Create a NAS server.

Body parameter

{
  "Name": "string",
  "FloatingIps": [
    "string"
  ],
  "NisDomain": "string",
  "NisServer": "string",
  "Workgroup": "string",
  "ActiveDirectory": "string",
  "Username": "string",
  "Password": "string",
  "OverwriteExistingServer": true
}

Parameters

Name In Type Required Description
async query boolean false none
uncommitAndAggregateId query string false none
body body NasServerElementCreate false none

Example responses

200 Response

"string"

400 Response

"string"

Responses

Status Meaning Description Schema
200 OK Success string
400 Bad Request Bad Request string

delete__nas_servers_delete

Code samples

DELETE /nas_servers/delete HTTP/1.1

Accept: application/json

DELETE /nas_servers/delete

Delete a NAS Server.

Parameters

Name In Type Required Description
netbios query string false The name of the NAS server to delete.
async query boolean false none
uncommitAndAggregateId query string false none

Example responses

200 Response

"string"

400 Response

"string"

Responses

Status Meaning Description Schema
200 OK Success string
400 Bad Request Bad Request string

put__nas_servers_edit

Code samples

PUT /nas_servers/edit HTTP/1.1

Content-Type: application/json-patch+json
Accept: application/json

PUT /nas_servers/edit

Edit a NAS Server.

Body parameter

{
  "Name": "string",
  "FloatingIps": [
    "string"
  ],
  "NisDomain": "string",
  "NisServer": "string",
  "Workgroup": "string",
  "ActiveDirectory": "string",
  "Username": "string",
  "Password": "string",
  "OverwriteExistingServer": true
}

Parameters

Name In Type Required Description
name query string false none
async query boolean false none
uncommitAndAggregateId query string false none
body body NasServerElementEdit false none

Example responses

200 Response

"string"

400 Response

"string"

Responses

Status Meaning Description Schema
200 OK Success string
400 Bad Request Bad Request string

get__nas_servers_list

Code samples

GET /nas_servers/list HTTP/1.1

Accept: application/json

GET /nas_servers/list

List NAS Servers.

Example responses

200 Response

{
  "Data": [
    {
      "Name": "string",
      "Workgroup": "string",
      "NisServer": "string",
      "NisDomain": "string",
      "FloatingIps": [
        "string"
      ],
      "ActiveDirectory": "string",
      "Username": "string",
      "Password": "string",
      "OverwriteExistingServer": true
    }
  ]
}

400 Response

"string"

Responses

Status Meaning Description Schema
200 OK Success NasServerElementApiResult
400 Bad Request Bad Request string

put__nas_servers_active_directory_test_join

Code samples

PUT /nas_servers/active_directory/test_join HTTP/1.1

Accept: application/json

PUT /nas_servers/active_directory/test_join

Test joining to Active Directory.

Example responses

200 Response

"string"

400 Response

"string"

Responses

Status Meaning Description Schema
200 OK Success string
400 Bad Request Bad Request string