List all consents for a Person.
Headers
Name | Value |
---|---|
Authorization | Bearer {JWT} |
URL parameters
Name | Value |
---|---|
personId | integer. |
Response
The response is an array of JSON objects. Each such object contains the elements below.
Name | Value |
---|---|
id | integer |
person_id | integer |
text | string |
created_at | date and time UTC, format YYYYMMDDhhmmss |
use_case | string |
Response status
Code | Value |
---|---|
200 | OK |
401 | Not authorized |