
Cisco Evolved Programmable Network Manager API
Evolved Programmable Network Manager API Documentation

# DELETE trapReceiverService/receiver

Deprecated

Notification Receivers API is deprecated because Notification Receivers were replaced by Notification Policies. This resource will not delete receivers which (1) are used by more than one policy or (2) have other receivers associated with the same policy. This resource may be removed in a future release.

Deletes an existing northbound trap receiver destination and the associated notification policy.

The API supports only those trap receivers associated with one notification policy. If there is more than one policy mapped to the receiver, or the the policy is associated with any other receiver, then an explicit error will be thrown, and neither the receiver nor the policy will be deleted.

Since Product Version: 3.0

- Jump To

- v1
- v2
- v3
- v4

### 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

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/trapReceiverService/receiver

## Request Parameters

Attribute | Source | Description
--- | --- | ---
id String | query | Required

## Response Parameters

Attribute | Description
--- | ---
result String | The operation result message

## 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://172.20.127.108/webacs/api/v1/op/trapReceiverService/receiver?id=1282281

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://172.20.127.108/webacs/api/v1/op/trapReceiverService/receiver?id=1282281" rootUrl="https://172.20.127.108/webacs/api/v1/op">
      <trapReceiverOutput>
        <result>String value</result>
      </trapReceiverOutput>
    </mgmtResponse>

### Sample JSON Response Payload

https://172.20.127.108/webacs/api/v1/op/trapReceiverService/receiver.json?id=1282281

    {
      "mgmtResponse" : {
        "@responseType" : "operation",
        "@requestUrl" : "https : \/\/172.20.127.108\/webacs\/api\/v1\/op\/trapReceiverService\/receiver?id=1282281",
        "@rootUrl" : "https : \/\/172.20.127.108\/webacs\/api\/v1\/op",
        "trapReceiverOutput" : {
          "result" : "String value"
        }
      }
    }

### 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/v2/op/trapReceiverService/receiver

Unmodified

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

## Request Parameters

Attribute | Source | Description
--- | --- | ---
id String | query | Required

## Response Parameters

Attribute | Description
--- | ---
result String | The operation result message

## 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://172.20.127.108/webacs/api/v2/op/trapReceiverService/receiver?id=1282281

    <?xml version="1.0" ?>
    <mgmtResponse responseType="operation" requestUrl="https://172.20.127.108/webacs/api/v2/op/trapReceiverService/receiver?id=1282281" rootUrl="https://172.20.127.108/webacs/api/v2/op">
      <trapReceiverOutput>
        <result>String value</result>
      </trapReceiverOutput>
    </mgmtResponse>

### Sample JSON Response Payload

https://172.20.127.108/webacs/api/v2/op/trapReceiverService/receiver.json?id=1282281

    {
      "mgmtResponse" : {
        "@requestUrl" : "https://172.20.127.108/webacs/api/v2/op/trapReceiverService/receiver?id=1282281",
        "@responseType" : "operation",
        "@rootUrl" : "https://172.20.127.108/webacs/api/v2/op",
        "trapReceiverOutput" : [ {
          "result" : "String value"
        } ]
      }
    }

Resource unavailable for this API version

This resource was removed in API version 3.

Resource unavailable for this API version

This resource was removed in API version 3.