Restore a record version
Makes an earlier version the record again, as a new version, so the history stays complete. Undoes an edit or an exclusion.
Requires the inventory:write API key scope.
Authentication
AuthorizationBearer
A workspace API key, sent as Authorization: Bearer.
OR
x-api-keystring
A workspace API key, sent as x-api-key.
Path parameters
recordId
Topology record id, e.g. cmp_8f2a1c0d33.
version
Version number from List record versions, starting at 1.
Response
The restored record and the version that restored it.
record
A record of the map. Beyond these fields it carries those of its recordType: name, kind and, depending on the type, boundary, exposure, endpoints, tech, from, to, label, appliesTo, gaps, component, title, severity and so on. References to other records are record ids.
version
The version this write created.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error