Carillon docs
Users

Merge shared user tags, creating the profile if needed

Merges tags into the user profile of an external_id, creating it if needed; a null value removes a key. Every device with that external_id shares them.

PATCH
/v1/users/{externalId}/tags

Merges tags into the user profile of an external_id, creating it if needed; a null value removes a key. Every device with that external_id shares them.

AuthorizationBearer <token>

An API key, sent as Authorization: Bearer carillon_sk_live_…, or carillon_sk_test_… for simulated delivery. 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

externalId*string
Length1 <= length <= 256

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/v1/users/string/tags" \  -H "Content-Type: application/json" \  -d '{}'
{  "external_id": "string",  "tags": {    "property1": "string",    "property2": "string"  },  "date_tags": {    "property1": "2019-08-24T14:15:22Z",    "property2": "2019-08-24T14:15:22Z"  },  "number_tags": {    "property1": 0,    "property2": 0  },  "boolean_tags": {    "property1": true,    "property2": true  }}