Skip to main content
PUT
Replace an asset's labels

Autorisations

X-API-KEY
string
header
requis
OW-KEY
string
header
requis

OpenWrench shared secret. Required on every request alongside X-API-KEY; issued together with your API key.

Paramètres de chemin

assetId
integer
requis

Asset id.

Corps

application/json

Full replacement set of label ids. Send an empty array to clear all labels.

ids
integer[]
requis

Ids of labels from the corresponding label catalog. Duplicates are de-duplicated.

Réponse

Success. Returns the labels now active on the asset.

type
string
requis

Entity type marker, "AssetLabel".

data
object[]
requis
count
integer
requis
status
enum<string>
requis
Options disponibles:
ok