Skip to main content

GetPoliciesResponseModel

statusboolean

Whether the request succeeded.

Example: true
messagestring

Human-readable description of the result.

Example: Getting policies success
policies object[]

Authorization policies assigned to the role.

  • Array [
  • idinteger

    Unique numeric identifier.

    Example: 6190
    namestring

    Resource name.

    Example: policy:AllPermissions
    descriptionstring

    Human-readable description of the resource.

    Example: Grants all permissions to all resources
    permissions object[]

    Permissions granted by the role.

  • Array [
  • idinteger

    Unique numeric identifier for the permission.

    Example: 6190
    resourcestring

    Resource the permission grants access to.

    Example: Environment
    permissionstring

    Name of the permission.

    Example: environment:list
  • ]
  • created_atstring<date-time>

    ISO 8601 UTC timestamp marking when the resource was created.

    Example: 2026-05-06T14:32:11Z
  • ]
  • GetPoliciesResponseModel
    {
    "status": true,
    "message": "Getting policies success",
    "policies": [
    {
    "id": 6190,
    "name": "policy:AllPermissions",
    "description": "Grants all permissions to all resources",
    "permissions": [
    {
    "id": 6190,
    "resource": "Environment",
    "permission": "environment:list"
    }
    ],
    "created_at": "2026-05-06T14:32:11Z"
    }
    ]
    }