Details about user permissions can be retrieved by this.
Node
- /users/{your-user-id-here}/permissions
Examples
Send a GET request
Sample Request
curl -X GET \
https://cloud.modjoul.com/dev/users/{your-user-id-here}/permissions \
-H 'Authorization: your-authorization-token-here' \
Sample Response
{
"org/user": [
{
"action": "view",
"object": [
[]
]
},
{
"action": "edit",
"object": []
},
{
"action": "admin",
"object": []
}
],
"org/team": [
{
"action": "admin",
"object": [
[]
]
},
{
"action": "view",
"object": [
[]
]
},
{
"action": "edit",
"object": [
[]
]
}
],
"org": [
{
"action": "admin",
"object": []
},
{
"action": "view",
"object": []
},
{
"action": "edit",
"object": []
}
]
}