Update an asset

Modifies all attributes of an existing asset.

Path Params
string
required

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

Body Params

Asset which replaces the one with matching identifier on the server.

string

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

type
object

The asset type of an asset.

fields
array of objects

The associated fields of an asset contained in an array. Each asset's fields are based on its asset type. Please make sure the asset fields you use associated with the specified asset type. You can retrieve the associated fields using the list type and field association endpoint.

fields
site
object

The assigned site of an asset as object. If an asset is not assigned to a site, the API will return nil.

string
enum
Defaults to ASSET_STATE_UNSPECIFIED

The indicator for whether an asset is active or archived.

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json