Skip to navigation

Update a topology record

Only the fields sent change; null clears an optional field. recordType is required and must match the record. A change that leaves the record as it was creates no version.

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

recordIdstringRequired

Topology record id, e.g. cmp_8f2a1c0d33.

Request

This endpoint expects an object.
objectRequired
OR
objectRequired
OR
objectRequired
OR
objectRequired
OR
objectRequired

Response

The record and its current version.
recordobject

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.

versioninteger
The version this write created.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error