Skip to main content

PolicyFields

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
    PolicyFields
    {
    "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"
    }