Cisco Prime Infrastructure API
Prime Infrastructure API Documentation

REST API Resources

AAA/TACACS+ Servers Operations Service

Provides services to AAA servers operations

Resource Description
DELETE Delete Server Delete existing TACACS+ server
GET List Servers Read all TACACS+ servers
POST Add Server Add new TACACS+ server
PUT Update Server Update an existing TACACS+ server. The serverIp attribute must match the existing server to be modified, and cannot be changed.

CLI Template Configuration

The CLI Template Configuration service allows a CLI configuration template to be applied to one or more target devices. It also provides a way to upload, delete, and get the CLI templates in the system.

Resource Description
DELETE Delete Configuration Template Folder Delete folder
GET List Configuration Template Folders Get folders
POST Create Configuration Template Folder Create new folder
PUT Modify Configuration Template Content Update template

Configuration Archive Service

Provides services for configuration file and versions operations

Resource Description
GET Configuration archive list Configuration archive for device
GET Configuration versions and files list Represents information about the version of the configuration files
GET Download the sanitized configuration file Extract an sanitized configuration file data
GET Download the unsanitized configuration file Extract an unsanitized configuration file data

Group Management Service

The Group Management Service provides operations for getting group rules summary, deleting and updating groups, managing devices and rules assigned to groups.

Resource Description
DELETE Delete device group Delete a device group by it's ID or full path and name. Only Location and Network Device groups are supported.
GET Device Group Rules Get list of group rules. Only Location and Network Device groups are supported.
PUT Assign devices to group Statically assign list of devices to given group. Only Location and Network Device groups are supported.
PUT Remove devices from group Remove list of devices from the group (devices are listed by device IDs). Only Location and Network Device groups are supported.
PUT Replace set of group rules Replace set of group rules with a new one. Only Location and Network Device groups are supported.
PUT Update or create device group Update or create a device group. Only Location and Network Device groups are supported.

Trap Receivers

Provides for operations to retrieve, create, modify, and delete Trap Receivers.

Resource Description
DELETE Delete Trap Receiver Delete a trap destination configuration
GET List Trap Receivers Retrieve all existing trap destination configurations
POST Create Trap Receiver Create a trap destination configuration
PUT Update Trap Receiver Update a trap destination configuration