GetUserPermissionsResponseModel
statusboolean
Whether the request succeeded.
Example:
truemessagestring
Human-readable description of the result.
Example:
Getting my permissions successfullypermissions object[]
Permissions granted by the role.
Array [
idinteger
Unique numeric identifier for the permission.
Example:
7613resourcestring
Resource the permission grants access to.
Example:
Environmentpermissionstring
Name of the permission.
Example:
environment:list]
GetUserPermissionsResponseModel
{
"status": true,
"message": "Getting my permissions successfully",
"permissions": [
{
"id": 7613,
"resource": "Environment",
"permission": "environment:list"
}
]
}
Was this page helpful?