How do I archive active records using the API?
Certeros current API supports writeback functionality to support archiving of Computer Systems and Network Devices in your platform.
To get started with the API, you will need a username/password which can be configured using the following article How to create a new API Key
When archiving in Certero, we require the ObjectId of a record to correctly allow us to identify which entry needs to be archived.
ObjectId’s can be retrieved using existing API queries, if you require assistance with defining API queries and getting started, you can reference article Certero API
How to archive Computer Systems
Replace “ObjectID” with the ComputerSystemObjectId
POST api/ComputerSystem/ObjectId/archive
How to archive Network Devices
Replace “ObjectID” with the SnmpDeviceObjectId
POST api/SnmpDevice/ObjectId/archive