Skip to main content

RbacRoleDetailResponseModel

statusboolean

Whether the request succeeded.

Example: true
messagestring

Human-readable description of the result.

Example: Creating RBAC role success
role object

Role returned by the request.

idinteger

Unique numeric identifier for the role.

Example: 7613
namestring

Name of the role.

Example: example-role
descriptionstring

Description of the role.

Example: example
policies object[]

Authorization policies assigned to the role.

  • Array [
  • idinteger

    Unique numeric identifier for the policy.

    namestring

    Name of the policy.

    descriptionstring

    Description of the policy.

  • ]
  • permissions object[]

    Permissions granted by the role.

  • Array [
  • idinteger

    Unique numeric identifier for the permission.

    resourcestring

    Resource the permission grants access to.

    permissionstring

    Name of the permission.

  • ]
  • created_atstring<date-time>

    ISO 8601 UTC timestamp marking when the role was created.

    Example: 2026-05-06T15:18:42Z
    RbacRoleDetailResponseModel
    {
    "status": true,
    "message": "Creating RBAC role success",
    "role": {
    "id": 7613,
    "name": "example-role",
    "description": "example",
    "policies": [
    {
    "id": 0,
    "name": "string",
    "description": "string"
    }
    ],
    "permissions": [
    {
    "id": 0,
    "resource": "string",
    "permission": "string"
    }
    ],
    "created_at": "2026-05-06T15:18:42Z"
    }
    }