Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

PUT managedServers

Updates managed server configurations, such as server name, port and alias. If no port is specified, the default value will be used. If no alias is specified, the current alias will be reset.

Since Product Version: 3.7

Resource Information

Rate Limiting?

No

Sorting?

No

Paging?

No

Filtering?

No

Group Filtering?

No

Aggregation?

No

Response Formats

xml

json

User Group

NBI Write

HTTP Methods

PUT

API version v1 is deprecated

This API version has been deprecated. It will be removed in a future release of the product. Please develop new clients using the latest API version. Please modify your existing clients to use a later API version.

Resource URL

/webacs/api/v1/op/managedServers

Request Parameters

Attribute Source Description

server String

query

RequiredIP address or hostname that was used to add the managed server

Request Payload Parameters

Attribute Description

alias String

New managed server alias. Optional.

port int

New managed server network port. Optional (default port is 443).

server String

New managed server address. Required.

Sample Payloads

Sample payloads are for information only. They are automatically generated and the values included may not be representative of actual valid data values.

Sample XML Request Payload

https://localhost/webacs/api/v1/op/managedServers?server=managed.instance.com

<?xml version="1.0" ?>
<updateManagedServerDTO>
  <alias>String value</alias>
  <port>1</port>
  <server>String value</server>
</updateManagedServerDTO>

Sample JSON Request Payload

https://localhost/webacs/api/v1/op/managedServers.json?server=managed.instance.com

{
  "updateManagedServerDTO" : {
    "alias" : "String value",
    "port" : 1,
    "server" : "String value"
  }
}