---
title: "Update user consent for device monitoring"
method: PATCH
path: "/v1/persons/{person_id}/device_consents/{device_consent_id}"
tags: ["Device Monitoring"]
---

# Update user consent for device monitoring

`PATCH /v1/persons/{person_id}/device_consents/{device_consent_id}`

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.

## Path parameters

- `person_id` string, required
- `device_consent_id` string, required

## Request body

- DeviceConsent
  - `event_type` 'APPROVED' | 'REJECTED' — Indicates whether the customer approved or rejected device monitoring.
  - `confirmed_at` string — UTC timestamp from when the customer consented/refused to consent to device monitoring.

## Response `201`

Successful result of the operation

- SolarisServerDecoratorsDeviceConsent[]
  - `id` string — ID of the device consent.
  - `person_id` string — ID of the person that gave the consent.
  - `event_type` 'APPROVED' | 'REJECTED' — Indicates whether the customer approved or rejected device monitoring.
  - `confirmed_at` string — UTC timestamp from when the customer consented/refused to consent to device monitoring.
  - `created_at` string — UTC timestamp from when the consent event was created on Solaris' backend.

## Other responses

- `400` — You sent invalid data.
- `403` — You are not authorized to perform this action.
- `404` — Consent with the given ID does not exists.
- `500` — Internal server error.
- `default` — Unexpected error

---

[API](https://skmtc.net/solarisgroup/apis/customer-identification-kyc.md) · [All operations](https://skmtc.net/solarisgroup/apis/customer-identification-kyc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/customer-identification-kyc/revisions/c481fa2414f9/schema)
