Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

DELETE pnp/profile/{profileName}/instance/

Deletes all the profile instances of the given pnp profile that passed as path param.

Since Product Version: 3.4

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

DELETE

Resource URL

/webacs/api/v4/op/pnp/profile/{profileName}/instance/

Unmodified

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

Request Parameters

Attribute Source Description

profileName String

path

RequiredName of the profile in which the profile instance to be deleted

Response Parameters

Attribute Description

errors String[]

This attribute contains error messages of the service

status String

Overall Status

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 Response Payload

https://localhost/webacs/api/v4/op/pnp/profile/sample_profile_name/instance/

<?xml version="1.0" ?>
<mgmtResponse responseType="operation" requestUrl="https://localhost/webacs/api/v4/op/pnp/profile/sample_profile_name/instance/" rootUrl="https://localhost/webacs/api/v4/op">
  <profileInstancesDeleteStatus>
    <errors>
      <errors>String value</errors>
      <errors>Another string value</errors>
    </errors>
    <status>String value</status>
  </profileInstancesDeleteStatus>
</mgmtResponse>

Sample JSON Response Payload

https://localhost/webacs/api/v4/op/pnp/profile/sample_profile_name/instance/.json

{
  "mgmtResponse" : {
    "@requestUrl" : "https://localhost/webacs/api/v4/op/pnp/profile/sample_profile_name/instance/",
    "@responseType" : "operation",
    "@rootUrl" : "https://localhost/webacs/api/v4/op",
    "profileInstancesDeleteStatus" : [ {
      "errors" : {
        "errors" : [ "String value", "Another string value" ]
      },
      "status" : "String value"
    } ]
  }
}