GET user/…/permissions

GET 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 a member of the same organization as the requested user.

Resource URL

https://www.drillster.com/api/2/user/self/permissions

or

https://www.drillster.com/api/2/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.0 Permissions object with the details of permissions granted to the requested user account.