GET user/…/permissions
Retrieves the permissions of a user account.
Users are always permitted to retrieve the details of their own user account. Retrieving the details of another user account is only permitted if the calling user is an administrator (staff user) of the same organization that manages the requested user account.
Resource URL
https://www.drillster.com/api/2.1.1/user/self/permissions
or
https://www.drillster.com/api/2.1.1/user/{user_id}/permissions
Parameters
Field | Description |
---|---|
user_id optional |
The user ID of the user to retrieve details for. To retrieve the details of the own user account, the value self may be used as well.Example value: 7OuHq-RcQO_snGWR58TnBw |
Response
A 2.1.1 Permissions object with the details of permissions granted to the requested user account.
Last updated on