Skip to main content
PATCH
/
industrial
/
assets
/
{id}
/
data-outputs
Writes to data outputs on an asset
curl --request PATCH \
  --url https://api.samsara.com/industrial/assets/{id}/data-outputs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "values": ""
}'
{
  "data": [
    {
      "id": "8a9371af-82d1-4158-bf91-4ecc8d3a114c",
      "statusCode": 200,
      "errorMessage": "Failed to write to Device: GFRV-43N-VGX"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Asset ID

Body

application/json
values
object
required

A map of data output IDs to values. All data outputs must belong to the same asset. Only the specified IDs will be written to.

Example:

""

Response

OK response.

data
object[]
required

List of responses for each data output from the original request.