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 URL
    https://identity-api.paymongo.com
  • URL
    https://identity-api.paymongo.com/v1/users/{user_id}/permissions
  • Auth
    HTTP bearer

Path parameters

user_idstring required

User id

Response

OK

has_moreboolean

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.