Api referenceEndpointsConsent
Every consent change of the user, newest first
GET
One event per category granted or revoked, with the credential that made the change and the evidence it gave. Kept while the user exists; erased with the user.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
id*stringFormat
uuidcursor?stringThe next_cursor of the previous page.
limit?integerRange
1 <= value <= 1000Default
100One page of events.
application/json- response
data*array<>next_cursor*|Null on the last page.
curl -X GET 'http://localhost:8080/v1/users/497f6eca-6276-4993-bfeb-53cbbbba6f08/consents/history' \ -H 'Authorization: Bearer ohs_sk_...'{ "next_cursor": "string", "data": [ { "id": 0, "at": "2019-08-24T14:15:22Z", "provider": "string", "category": "activity", "action": "granted", "actor_id": "string", "evidence": "string" } ]}