Skip to main content

GetUserPermissionsResponseModel

statusboolean

Whether the request succeeded.

Example: true
messagestring

Human-readable description of the result.

Example: Getting my permissions successfully
permissions object[]

Permissions granted by the role.

  • Array [
  • idinteger

    Unique numeric identifier for the permission.

    Example: 7613
    resourcestring

    Resource the permission grants access to.

    Example: Environment
    permissionstring

    Name of the permission.

    Example: environment:list
  • ]
  • GetUserPermissionsResponseModel
    {
    "status": true,
    "message": "Getting my permissions successfully",
    "permissions": [
    {
    "id": 7613,
    "resource": "Environment",
    "permission": "environment:list"
    }
    ]
    }