Skip to main content
POST
Accept the privacy policy of your digital twin's account

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Body

application/json
policyHash
string
required

The privacyPolicyHash of the policy you are accepting (the version you were shown).

Example:

"3bfb489f9bd077f0"

institutionId
string
required

The id of the digital twin you are using (profile.institution._id).

Example:

"6554560a7f05e300409043ba"

Response

Acceptance recorded

success
boolean
Example:

true

accountId
string
acceptedAccountPrivacyPolicyDate
string<date-time>
acceptedAccountPrivacyPolicyHash
string
Example:

"3bfb489f9bd077f0"

userInstitutionIds
string[]

Your memberships that now carry the acceptance