Carillon docs
Devices

Merge device tags

Requires a secret key with devices:write. Updates only supplied tag keys; null removes a key. Other device fields and activity timestamps are unchanged. Concurrent updates to different keys are preserved; the last applied update wins for the same key.

PATCH
/v1/devices/{id}

Requires a secret key with devices:write. Updates only supplied tag keys; null removes a key. Other device fields and activity timestamps are unchanged. Concurrent updates to different keys are preserved; the last applied update wins for the same key.

AuthorizationBearer <token>

An API key, sent as Authorization: Bearer carillon_sk_live_…. A secret key sends, reads traces and manages devices; a mobile key may only register its own device and report that device’s events.

In: header

Path Parameters

id*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/v1/devices/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "tags": {      "property1": "string",      "property2": "string"    }  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "token": "string",  "platform": "ios",  "environment": "production",  "external_id": "string",  "tags": {    "property1": "string",    "property2": "string"  },  "timezone_id": "string",  "locale": "string",  "app_version": "string",  "app_build": "string",  "bundle_id": "string",  "os_version": "string",  "push_permission": "allowed",  "sdk_version": "string",  "opted_in": true,  "invalidated_at": "2019-08-24T14:15:22Z",  "invalidation_reason": "string",  "last_active_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z"}