Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

PUT groups/removeInterfaces

Remove a list of interfaces from a given port group. Only 'User Defined' and 'WAN Interfaces' port groups are supported.

Since Product Version: 3.1

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

Resource URL

/webacs/api/v4/op/groups/removeInterfaces

Unmodified

This resource has not been modified since the previous API version.

Request Parameters

Attribute Source Description

groupPath String

query

RequiredFull Path to the group

Request Payload Parameters

Attribute Description

groupInterface Arrow image GroupInterfacesDTO[]

List of devices and associated interfaces

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/v4/op/groups/removeInterfaces?groupPath=System Defined/WAN Interfaces

<?xml version="1.0" ?>
<groupInterfacesListDTO>
  <groupInterface>
    <groupInterface>
      <deviceIp>String value</deviceIp>
      <interfaceName>
        <interfaceName>String value</interfaceName>
        <interfaceName>Another string value</interfaceName>
      </interfaceName>
    </groupInterface>
    <groupInterface>
      <deviceIp>Another string value</deviceIp>
      <interfaceName>
        <interfaceName>String value</interfaceName>
        <interfaceName>Another string value</interfaceName>
      </interfaceName>
    </groupInterface>
  </groupInterface>
</groupInterfacesListDTO>

Sample JSON Request Payload

https://localhost/webacs/api/v4/op/groups/removeInterfaces.json?groupPath=System Defined/WAN Interfaces

{
  "groupInterfacesListDTO" : {
    "groupInterface" : {
      "groupInterface" : [ {
        "deviceIp" : "String value",
        "interfaceName" : {
          "interfaceName" : [ "String value", "Another string value" ]
        }
      }, {
        "deviceIp" : "Another string value",
        "interfaceName" : {
          "interfaceName" : [ "String value", "Another string value" ]
        }
      } ]
    }
  }
}