Users
Resolve a member's effective permissions
Returns the full permission catalog keyed as "module.action" for a member of the authenticated caller's organization (the caller may read their own). A permission is true when one of the member's roles grants it or an enabled per-user grant does.
get/v1/users/{user_id}/permissions
Request
- Base URLhttps://identity-api.paymongo.com
- URLhttps://identity-api.paymongo.com/v1/users/{user_id}/permissions
- AuthHTTP bearer
Path parameters
user_idstring required
User id
Response
OK
Example response
{
"data": {
"attributes": {
"permissions": {
"links.view": true,
"payouts.view": false
}
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.