curl --location --request PATCH '/api/v1/documents//permissions/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"role": "viewer"
}'{
"principal": "user:3f2b…",
"role": "viewer",
"email": "string",
"grantedBy": "user:3f2b…",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}