GetPoliciesResponseModel
statusboolean
Whether the request succeeded.
Example:
truemessagestring
Human-readable description of the result.
Example:
Getting policies successpolicies object[]
Authorization policies assigned to the role.
Array [
idinteger
Unique numeric identifier.
Example:
6190namestring
Resource name.
Example:
policy:AllPermissionsdescriptionstring
Human-readable description of the resource.
Example:
Grants all permissions to all resourcespermissions object[]
Permissions granted by the role.
Array [
idinteger
Unique numeric identifier for the permission.
Example:
6190resourcestring
Resource the permission grants access to.
Example:
Environmentpermissionstring
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"
}
]
}
Was this page helpful?