Skip to main content
Version: 1.2.0

Write to a single attribute

PUT 

/asset/:assetId/attribute/:attributeName

Write to a single attribute

Request

Path Parameters

    assetId stringrequired
    attributeName stringrequired

Header Parameters

    Authorization string
    X-Forwarded-Proto string
    X-Forwarded-Host string

Body

    object

Responses

The result of the write operation

Schema

    ref

    object

    idstring

    The asset identifier

    Possible values: Value must match regular expression ^[0-9A-Za-z]{22}$

    Example: 7Bt8M3cXEP6BHPh8r47DYf
    namestringrequired

    The attribute name

    Possible values: Value must match regular expression ^\w+$

    Example: location
    failurestring

    Possible values: [ASSET_NOT_FOUND, ATTRIBUTE_NOT_FOUND, INSUFFICIENT_ACCESS, INVALID_VALUE, INTERCEPTOR_FAILURE, STATE_STORAGE_FAILED, CANNOT_PROCESS, QUEUE_FULL, UNKNOWN, ASSET_ID_MISSING, ATTRIBUTE_NAME_MISSING]