Description
Adds servers to a Server Batch
Parameters
Name | Description |
---|---|
payload (body) |
Location: body Type: application/json The body of the servers to be added
to the Server Batch. The JSON body is as
follows:
{ "name": "string", "servers": [ { "bam_id": "string", "name": "string", "management_ip": "string", "service_ip": "string", "role_enabled": "string", "appliance_type": "string", "authentication_method": "credentials/keys", "key_id": "string", "username": "string", "password": "string" } ], "postscript_options": { "install": true, "apply_and_run": true, "postscript_id": "string" } } Parameters
|
Responses
Status | Description |
---|---|
Successful |
Code: 202 Body:
{ "id": 0 } The ID of the Server Batch. |
Error |
Code: 401 Unauthorized user. Code: 409 Body:
{ "error": "string" } Code: 500 Internal server error. 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. |