Update an asset type's asset field associations

Update which fields are associated with an asset type. Use the replace_all parameter to control whether you replace all associations or merge with existing ones. Removing a field from a type does not delete field values on existing assets.

Replace vs. merge behavior

  • replace_all: true: Replaces all existing field associations with the provided field_ids. Fields not in the list are removed from the type.
  • replace_all: false: Merges the provided field_ids with existing associations. Existing associations remain, new ones are added.

Requirements

Path Params
string
required

Unique ID of the asset type.

Body Params

The parameters for UpdateTypeFields

boolean

Determines whether to replace all existing field associations for the asset type.
When true, all existing field associations for the asset type are replaced with the specified field_ids.
When false, the specified field_ids are merged with the existing field associations for the asset type.

field_ids
array of strings

List of field IDs to associate with the asset type.

field_ids
Responses

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