latestOpenAPI 3.0.12026-08-105551287.6 KB

c481fa2414f9

Device Monitoring

Update user consent for device monitoring

Records change of consent from the given person (specified in the request URL) to collect device fingerprints on their registered device. Each consent is tied to a specific device.

patch/v1/persons/{person_id}/device_consents/{device_consent_id}

Path parameters

person_idstring required
device_consent_idstring required

Request body

event_type'APPROVED' | 'REJECTED'

Indicates whether the customer approved or rejected device monitoring.

confirmed_atstring

UTC timestamp from when the customer consented/refused to consent to device monitoring.

Example request

{
  "event_type": "APPROVED",
  "confirmed_at": "2021-06-25T09:44:25.000Z"
}

Response

Successful result of the operation

idstring

ID of the device consent.

person_idstring

ID of the person that gave the consent.

event_type'APPROVED' | 'REJECTED'

Indicates whether the customer approved or rejected device monitoring.

confirmed_atstring

UTC timestamp from when the customer consented/refused to consent to device monitoring.

created_atstring

UTC timestamp from when the consent event was created on Solaris' backend.

Example response

[
  {
    "id": "17a7389adaf83145770d8e6c00a398ddcon",
    "person_id": "e2bbc86268e9a4667861b73f31dba03bcper",
    "confirmed_at": "2021-06-25T09:44:25.000Z",
    "created_at": "2021-06-25T09:44:25.000Z"
  }
]