Get one account's per-share access
GET/users/:userId/permissions
Required role: viewer. An account or token with the viewer or admin role can call this operation.
Example request
curl --request GET \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
"https://$HOSERVA_HOST:8008/api/v1/users/{userId}/permissions"
Every share this account has an explicit access level for. A share with no row here is not represented — none of the three levels is assumed.
Request
Responses
- 200
- default
This account's per-share access.
An error response.