POST /bandwidth_manager/configurations

Creates a bandwidth manager configuration

Table 1. POST /bandwidth_manager/configurations resource details
MIME Type

application/json

Table 2. POST /bandwidth_manager/configurations request parameter details
Parameter Type Optionality Data Type MIME Type Description

fields

header

Optional

String

text/plain

Optional - Use this parameter to specify which fields you would like to get back in the response. Fields that are not named are excluded. Specify subfields in brackets and multiple fields in the same object are separated by commas.

Table 3. POST /bandwidth_manager/configurations request body details
Parameter Data Type MIME Type Description Sample

configuration

Object

application/json

null

{ "created_by": "String", "device_name": "String", "host_id": 42, "hostname": "String", "id": 42, "kb_limit": 42, "name": "String" }

Table 4. POST /bandwidth_manager/configurations response codes
HTTP Response Code Unique Code Description

202

The configuration was created successfully.

422

1000

The managed host id does not exist.

422

1001

A parameter was passed incorrectly.

422

1002

The host_id parameter must be a positive integer or -1.

422

1005

The kb_limit parameter value must be a positive integer.

422

1008

The name parameter value must be less than 100 characters.

422

1009

The hostname parameter value must be less than 100 characters.

422

1010

The name parameter must not contain the $ character.

500

1020

An error occurred attempting to retrieve the configuration.

Response Description

Response Sample


{
    "created_by": "String",
    "device_name": "String",
    "host_id": 42,
    "hostname": "String",
    "id": 42,
    "kb_limit": 42,
    "name": "String"
}