v1

latestOpenAPI 3.1.02026-07-263911,4691.1 MB
Assets

Update an asset

patch/assets/v1/assets/{id}

Path parameters

idstring required

The unique identifier of an asset. This ID is system-generated.

Request body

codestring

The user-defined unique identifier of an asset. This ID is user-generated.

created_atstring date-time

The date created timestamp of an asset.

modified_atstring date-time

The date last modified timetstamp of an asset.

state'ASSET_STATE_UNSPECIFIED' | 'ASSET_STATE_ACTIVE' | 'ASSET_STATE_ARCHIVED'

Describes the state of an asset. Either active or archived.

  • ASSET_STATE_UNSPECIFIED: Indicates that an asset state is unspecified.
  • ASSET_STATE_ACTIVE: Indicates that an asset is active.
  • ASSET_STATE_ARCHIVED: Indicates that an asset is archived.
inspected_atstring date-time

The date last modified inspection of an asset.

sourced_from_external_systemboolean

@deprecated. Use GetAsset API to get the sourced_from_external_system Indicates if an asset is sourced from an external system.

Response

A successful response.