Skip to main content

Consent Record

๐Ÿ“„๏ธ Update consent record

Updates a consent record of the individual. Send `{'optIn': true}` to allow or `{'optIn': false}` to withdraw. To change one sector, send `{'sectorPreference': {'sector': '<sector>', 'optIn': false}}`; the sector must be in the data agreement, and the record must be opted in. A body without `optIn` and without `sectorPreference` withdraws the consent. The service takes the individual from the request header, not from the path or the query. The record moves to the latest revision of the data agreement and becomes `unsigned`, so an earlier signature is no longer valid.