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

# PUT settings/alarms/alarmDeletionPeriods

Updates configuration for automatic deletion periods of alarms

Since Product Version: 3.2

- 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 Credential
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/settings/alarms/alarmDeletionPeriods

## Request Payload Parameters

Attribute | Description
--- | ---
activeAndCleared Integer | Active and cleared alarms automatic deletion period (in days)
allEvents Integer | All events automatic deletion period (in days)
clearedNonSecurityAlarms Integer | Cleared non-security alarms automatic deletion period (in days)
clearedSecurityAlarms Integer | Cleared security alarms automatic deletion period (in days)

## 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://10.64.88.203/webacs/api/v1/op/settings/alarms/alarmDeletionPeriods

    <?xml version="1.0" ?>
    <alarmDeletionPeriodsDto>
      <activeAndCleared>15</activeAndCleared>
      <allEvents>15</allEvents>
      <clearedNonSecurityAlarms>15</clearedNonSecurityAlarms>
      <clearedSecurityAlarms>15</clearedSecurityAlarms>
    </alarmDeletionPeriodsDto>

### Sample JSON Request Payload

https://10.64.88.203/webacs/api/v1/op/settings/alarms/alarmDeletionPeriods.json

    {
      "alarmDeletionPeriodsDto" : {
        "activeAndCleared" : 15,
        "allEvents" : 15,
        "clearedNonSecurityAlarms" : 15,
        "clearedSecurityAlarms" : 15
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Credential
HTTP Methods | PUT

## Resource URL

/webacs/api/v2/op/settings/alarms/alarmDeletionPeriods

Unmodified

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

## Request Payload Parameters

Attribute | Description
--- | ---
activeAndCleared Integer | Active and cleared alarms automatic deletion period (in days)
allEvents Integer | All events automatic deletion period (in days)
clearedNonSecurityAlarms Integer | Cleared non-security alarms automatic deletion period (in days)
clearedSecurityAlarms Integer | Cleared security alarms automatic deletion period (in days)

## 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://10.64.88.203/webacs/api/v2/op/settings/alarms/alarmDeletionPeriods

    <?xml version="1.0" ?>
    <alarmDeletionPeriodsDto>
      <activeAndCleared>15</activeAndCleared>
      <allEvents>15</allEvents>
      <clearedNonSecurityAlarms>15</clearedNonSecurityAlarms>
      <clearedSecurityAlarms>15</clearedSecurityAlarms>
    </alarmDeletionPeriodsDto>

### Sample JSON Request Payload

https://10.64.88.203/webacs/api/v2/op/settings/alarms/alarmDeletionPeriods.json

    {
      "alarmDeletionPeriodsDto" : {
        "activeAndCleared" : 15,
        "allEvents" : 15,
        "clearedNonSecurityAlarms" : 15,
        "clearedSecurityAlarms" : 15
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Credential
HTTP Methods | PUT

## Resource URL

/webacs/api/v3/op/settings/alarms/alarmDeletionPeriods

Unmodified

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

## Request Payload Parameters

Attribute | Description
--- | ---
activeAndCleared Integer | Active and cleared alarms automatic deletion period (in days)
allEvents Integer | All events automatic deletion period (in days)
clearedNonSecurityAlarms Integer | Cleared non-security alarms automatic deletion period (in days)
clearedSecurityAlarms Integer | Cleared security alarms automatic deletion period (in days)

## 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://10.64.88.203/webacs/api/v3/op/settings/alarms/alarmDeletionPeriods

    <?xml version="1.0" ?>
    <alarmDeletionPeriodsDto>
      <activeAndCleared>15</activeAndCleared>
      <allEvents>15</allEvents>
      <clearedNonSecurityAlarms>15</clearedNonSecurityAlarms>
      <clearedSecurityAlarms>15</clearedSecurityAlarms>
    </alarmDeletionPeriodsDto>

### Sample JSON Request Payload

https://10.64.88.203/webacs/api/v3/op/settings/alarms/alarmDeletionPeriods.json

    {
      "alarmDeletionPeriodsDto" : {
        "activeAndCleared" : 15,
        "allEvents" : 15,
        "clearedNonSecurityAlarms" : 15,
        "clearedSecurityAlarms" : 15
      }
    }

### Resource Information

Rate Limiting? | No
Sorting? | No
Paging? | No
Filtering? | No
Group Filtering? | No
Aggregation? | No
Response Formats | xml json
User Group | NBI Credential
HTTP Methods | PUT

## Resource URL

/webacs/api/v4/op/settings/alarms/alarmDeletionPeriods

Unmodified

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

## Request Payload Parameters

Attribute | Description
--- | ---
activeAndCleared Integer | Active and cleared alarms automatic deletion period (in days)
allEvents Integer | All events automatic deletion period (in days)
clearedNonSecurityAlarms Integer | Cleared non-security alarms automatic deletion period (in days)
clearedSecurityAlarms Integer | Cleared security alarms automatic deletion period (in days)

## 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://10.64.88.203/webacs/api/v4/op/settings/alarms/alarmDeletionPeriods

    <?xml version="1.0" ?>
    <alarmDeletionPeriodsDto>
      <activeAndCleared>15</activeAndCleared>
      <allEvents>15</allEvents>
      <clearedNonSecurityAlarms>15</clearedNonSecurityAlarms>
      <clearedSecurityAlarms>15</clearedSecurityAlarms>
    </alarmDeletionPeriodsDto>

### Sample JSON Request Payload

https://10.64.88.203/webacs/api/v4/op/settings/alarms/alarmDeletionPeriods.json

    {
      "alarmDeletionPeriodsDto" : {
        "activeAndCleared" : 15,
        "allEvents" : 15,
        "clearedNonSecurityAlarms" : 15,
        "clearedSecurityAlarms" : 15
      }
    }