Description
Moves a DNS/DHCP server to a different Server Batch.
Parameters
Name | Description |
---|---|
payload (body) |
Location: body Type: application/json The destnation Server Batch and how
to handle the new Server Batch's customization
scripts:
{ "new_batch_id": "string", "server_management_ips": [ "string" ], "postscript_options": { "install": true, "apply_and_run": true } } Parameters
|
Responses
Status | Description |
---|---|
Successful |
Code: 202 The destination Server Batch ID, returned to verify its status Body:
{ "id": 0 } The ID of the Server Batch. |
Error |
Code: 401 Unauthorized user. Code: 409 Duplicate batch name. Body:
{ "error": "The batch with name <batch_name> is already in use" } { "error": "The server <batch_name> already exists in batch <batch_id>" } Code: 500 Internal server error. Body:
{ "error": "string" } This can be caused when an unknown application error is encountered on the Server side. The API attempts to return additional details within the error parameter. |