Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

PUT macFilter/macFilterTemplate

Updates an existing MAC filter template. Template name is used to identify the template to be edited.

Since Product Version: 3.2

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/v3/op/macFilter/macFilterTemplate

Unmodified

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

Request Payload Parameters

Attribute Description

description String

The description of the MAC filter template.

interfaceName String

The name of the WLAN interface.

profileName String

The WLAN Profile Name association for MAC Filtering is not supported for NGWC Devices. If the Template is created for NGWC Device, then Profile Name should be 'Any Profile'.

You can use the following API for getting a list of profiles:

/data/WlanProfiles?.full=true

templateName String

The name of the MAC filter template.

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/v3/op/macFilter/macFilterTemplate

<?xml version="1.0" ?>
<updateMacFilterTemplateDTO>
  <description>String value</description>
  <interfaceName>String value</interfaceName>
  <profileName>String value</profileName>
  <templateName>String value</templateName>
</updateMacFilterTemplateDTO>

Sample JSON Request Payload

https://localhost/webacs/api/v3/op/macFilter/macFilterTemplate.json

{
  "updateMacFilterTemplateDTO" : {
    "description" : "String value",
    "interfaceName" : "String value",
    "profileName" : "String value",
    "templateName" : "String value"
  }
}