---
updatedAt: 2026-07-10T17:11:53.000Z
---

# List RBP Entities

Get a list of all RBP entities for a host.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "This API provides access to control BeyondTrust software for Endpoint Privilege Management Linux.",
    "title": "Endpoint Privilege Management Linux API",
    "version": "25.1.6"
  },
  "security": [
    {
      "nomine-authorizer": []
    }
  ],
  "paths": {
    "/api/pbul/{hostid}/rbp": {
      "get": {
        "description": "Get a list of all RBP entities for a host.",
        "tags": [
          "RBP",
          "saas"
        ],
        "summary": "List RBP Entities",
        "operationId": "rbpList",
        "parameters": [
          {
            "x-go-name": "HostID",
            "description": "The Host ID to perform this operation on",
            "name": "hostid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/rbpList"
          },
          "400": {
            "$ref": "#/components/responses/TextError"
          }
        },
        "x-amazon-apigateway-integration": {
          "type": "aws_proxy",
          "httpMethod": "POST",
          "uri": "${biulInvocationArn}"
        }
      }
    }
  },
  "components": {
    "responses": {
      "TextError": {
        "description": "TextError An unknown error occurred, details provided in body"
      },
      "rbpList": {
        "description": "RBPListResponse is a JSON object containing information for all RBP entities",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/RBPList"
            }
          }
        }
      }
    },
    "schemas": {
      "APIUser": {
        "description": "APIUser is the user model",
        "type": "object",
        "required": [
          "username",
          "email",
          "firstname",
          "lastname",
          "admin",
          "active"
        ],
        "properties": {
          "CreatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "DeletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "ID": {
            "type": "integer",
            "format": "uint64"
          },
          "UpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean",
            "x-go-name": "Active"
          },
          "admin": {
            "type": "boolean",
            "x-go-name": "Admin"
          },
          "email": {
            "type": "string",
            "x-go-name": "Email"
          },
          "email_verified": {
            "type": "boolean",
            "x-go-name": "EmailVerified"
          },
          "firstname": {
            "type": "string",
            "x-go-name": "FirstName"
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Group"
            },
            "x-go-name": "Groups",
            "maxItems": 500
          },
          "lastname": {
            "type": "string",
            "x-go-name": "LastName"
          },
          "remoteUser": {
            "$ref": "#/components/schemas/RemoteUser"
          },
          "remoteUserID": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "RemoteUserID"
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Role"
            },
            "x-go-name": "Roles",
            "maxItems": 500
          },
          "username": {
            "type": "string",
            "x-go-name": "Username"
          }
        },
        "x-go-package": "pbsmc/data/dtos"
      },
      "Command": {
        "description": "Command is a record of an association between a command and a command group",
        "type": "object",
        "properties": {
          "cmd": {
            "type": "string",
            "x-go-name": "Command"
          },
          "description": {
            "type": "string",
            "x-go-name": "Description"
          },
          "disabled": {
            "type": "integer",
            "format": "int8",
            "x-go-name": "Disabled"
          },
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "runcommand": {
            "type": "string",
            "x-go-name": "Rewrite"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "CommandGroup": {
        "description": "CommandGroup is an RBP group that represents a collection of commands and/or wildcard patterns that match commands",
        "type": "object",
        "properties": {
          "cmds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Command"
            },
            "x-go-name": "Commands",
            "maxItems": 500
          },
          "description": {
            "type": "string",
            "x-go-name": "Description"
          },
          "disabled": {
            "type": "integer",
            "format": "int8",
            "x-go-name": "Disabled"
          },
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "extinfo": {
            "type": "string",
            "x-go-name": "ExternalLookupInfo"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "readonly": {
            "type": "boolean",
            "x-go-name": "ReadOnly"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "Group": {
        "description": "Group is the group model",
        "type": "object",
        "required": [
          "name",
          "active"
        ],
        "properties": {
          "active": {
            "type": "boolean",
            "x-go-name": "Active"
          },
          "description": {
            "type": "string",
            "x-go-name": "Description"
          },
          "id": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "ID"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "remote_group": {
            "$ref": "#/components/schemas/RemoteGroup"
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Role"
            },
            "x-go-name": "Roles",
            "maxItems": 500
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/APIUser"
            },
            "x-go-name": "Users",
            "maxItems": 500
          }
        },
        "x-go-package": "pbsmc/data/dtos"
      },
      "Host": {
        "type": "object",
        "properties": {
          "container": {
            "type": "boolean",
            "x-go-name": "Container"
          },
          "fim_assignment": {
            "type": "string",
            "x-go-name": "FimAssignment"
          },
          "hostname": {
            "type": "string",
            "x-go-name": "Hostname"
          },
          "id": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "ID"
          },
          "ip": {
            "type": "string",
            "x-go-name": "IP"
          },
          "port": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Port"
          },
          "stale": {
            "type": "boolean",
            "x-go-name": "Stale"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Tag"
            },
            "x-go-name": "Tags",
            "maxItems": 500
          }
        },
        "x-go-package": "pbsmc/data/dtos"
      },
      "HostGroup": {
        "description": "HostGroup is an RBP group that represents a collection of hosts and/or wildcard patterns that match hostnames",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "x-go-name": "Description"
          },
          "disabled": {
            "type": "integer",
            "format": "int8",
            "x-go-name": "Disabled"
          },
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "extinfo": {
            "type": "string",
            "x-go-name": "ExternalLookupInfo"
          },
          "hosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Host"
            },
            "x-go-name": "Hosts",
            "maxItems": 500
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "readonly": {
            "type": "boolean",
            "x-go-name": "ReadOnly"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "type": {
            "type": "string",
            "x-go-name": "Type"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPList": {
        "description": "RBPList is a collection of all entities",
        "type": "object",
        "properties": {
          "cmdgrp": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CommandGroup"
            },
            "x-go-name": "CommandGroups",
            "maxItems": 500
          },
          "cmdlist": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Command"
            },
            "x-go-name": "CommandList",
            "maxItems": 500
          },
          "hostgrp": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HostGroup"
            },
            "x-go-name": "HostGroups",
            "maxItems": 500
          },
          "hostlist": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Host"
            },
            "x-go-name": "HostList",
            "maxItems": 500
          },
          "role": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RbpRole"
            },
            "x-go-name": "Roles",
            "maxItems": 500
          },
          "rolecmds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleCommand"
            },
            "x-go-name": "RoleCommands",
            "maxItems": 500
          },
          "rolehosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleHost"
            },
            "x-go-name": "RoleHosts",
            "maxItems": 500
          },
          "roletmdates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleTimeDate"
            },
            "x-go-name": "RoleTimeDates",
            "maxItems": 500
          },
          "roleusers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleUser"
            },
            "x-go-name": "RoleUsers",
            "maxItems": 500
          },
          "tmdategrp": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateGroup"
            },
            "x-go-name": "TimeDateGroups",
            "maxItems": 500
          },
          "tmdatelist": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDate"
            },
            "x-go-name": "TimeDateList",
            "maxItems": 500
          },
          "usergrp": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserGroup"
            },
            "x-go-name": "UserGroups",
            "maxItems": 500
          },
          "userlist": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/User"
            },
            "x-go-name": "UserList",
            "maxItems": 500
          }
        },
        "x-go-package": "pbsmc/remote/pbrest"
      },
      "RbpRole": {
        "description": "RbpRole ties all other entities together to define a policy",
        "type": "object",
        "properties": {
          "action": {
            "type": "string",
            "x-go-name": "Action"
          },
          "auth": {
            "x-go-name": "Auth"
          },
          "comment": {
            "type": "string",
            "x-go-name": "Comment"
          },
          "description": {
            "type": "string",
            "x-go-name": "Description"
          },
          "disabled": {
            "type": "integer",
            "format": "int8",
            "x-go-name": "Disabled"
          },
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "iolog": {
            "type": "string",
            "x-go-name": "IOLog"
          },
          "message": {
            "type": "string",
            "x-go-name": "Message"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "risk": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Risk"
          },
          "rolecmds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleCommand"
            },
            "x-go-name": "RoleCommands",
            "maxItems": 500
          },
          "rolehosts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleHost"
            },
            "x-go-name": "RoleHosts",
            "maxItems": 500
          },
          "roletmdates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleTimeDate"
            },
            "x-go-name": "RoleTimeDates",
            "maxItems": 500
          },
          "roleusers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RoleUser"
            },
            "x-go-name": "RoleUsers",
            "maxItems": 500
          },
          "rorder": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Order"
          },
          "rpt": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "EntitlementReporting"
          },
          "script": {
            "type": "string",
            "x-go-name": "Script"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "tag": {
            "type": "string",
            "x-go-name": "Tag"
          },
          "variables": {
            "x-go-name": "Variables"
          },
          "varmatch": {
            "x-go-name": "VarMatch"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RemoteGroup": {
        "type": "object",
        "title": "RemoteGroup represents approved remote user groups obtained from directory services.",
        "properties": {
          "cn": {
            "type": "string",
            "x-go-name": "CN"
          },
          "dn": {
            "type": "string",
            "x-go-name": "DN"
          },
          "external_api_id": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "ExternalAPIID"
          },
          "group_id": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "GroupID"
          },
          "guid": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "uint8"
            },
            "x-go-name": "ObjectGUID",
            "maxItems": 500
          },
          "id": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "ID"
          }
        },
        "x-go-package": "pbsmc/data/dtos"
      },
      "RemoteUser": {
        "description": "RemoteUser contains the remote data pertaining to a user imported from Directory Services",
        "type": "object",
        "properties": {
          "active": {
            "type": "boolean",
            "x-go-name": "Active"
          },
          "cn": {
            "type": "string",
            "x-go-name": "CN"
          },
          "dn": {
            "type": "string",
            "x-go-name": "DN"
          },
          "externalApiID": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "ExternalAPIID"
          },
          "guid": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "uint8"
            },
            "x-go-name": "ObjectGUID",
            "maxItems": 500
          },
          "requiresGroup": {
            "type": "boolean",
            "x-go-name": "RequiresGroup"
          }
        },
        "x-go-package": "pbsmc/data/dtos"
      },
      "Role": {
        "description": "Role is the name of a role that a user can belong to",
        "type": "object",
        "properties": {
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Group"
            },
            "x-go-name": "Groups",
            "maxItems": 500
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/APIUser"
            },
            "x-go-name": "Users",
            "maxItems": 500
          }
        },
        "x-go-package": "pbsmc/data/dtos"
      },
      "RoleCommand": {
        "description": "RoleCommand is a record of an association between an existing command group record and an existing role",
        "type": "object",
        "properties": {
          "cmds": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "CommandGroup"
          },
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RoleHost": {
        "description": "RoleHost is a record of an association between an existing host group record and an existing role",
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "hosts": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "HostGroup"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "type": {
            "type": "string",
            "x-go-name": "Type"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RoleTimeDate": {
        "description": "RoleTimeDate is a record of an association between an existing command time/date group record and an existing role",
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "tmdates": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "TimeDateGroup"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RoleUser": {
        "description": "RoleUser is a record of an association between an existing user group record and an existing role",
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "type": {
            "type": "string",
            "x-go-name": "Type"
          },
          "users": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "UserGroup"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "Tag": {
        "description": "Tag represents a textual tag that a user might associate with a host",
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "ID"
          },
          "tag": {
            "type": "string",
            "x-go-name": "Tag"
          }
        },
        "x-go-package": "pbsmc/data/dtos"
      },
      "TimeDate": {
        "description": "TimeDate is a record of an association between a time/date and a time/date group",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "x-go-name": "Description"
          },
          "disabled": {
            "type": "integer",
            "format": "int8",
            "x-go-name": "Disabled"
          },
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "tmdate": {
            "type": "string",
            "x-go-name": "JsonDefinition"
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "TimeDateDayOfTheWeekRanges": {
        "description": "TimeDateDayOfTheWeekRanges represents a set of time of day ranges for days of the week, which can be received from\nthe client",
        "type": "object",
        "properties": {
          "fri": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateRange"
            },
            "x-go-name": "Friday",
            "maxItems": 500
          },
          "mon": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateRange"
            },
            "x-go-name": "Monday",
            "maxItems": 500
          },
          "sat": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateRange"
            },
            "x-go-name": "Saturday",
            "maxItems": 500
          },
          "sun": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateRange"
            },
            "x-go-name": "Sunday",
            "maxItems": 500
          },
          "thu": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateRange"
            },
            "x-go-name": "Thursday",
            "maxItems": 500
          },
          "tue": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateRange"
            },
            "x-go-name": "Tuesday",
            "maxItems": 500
          },
          "wed": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateRange"
            },
            "x-go-name": "Wednesday",
            "maxItems": 500
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "TimeDateGroup": {
        "description": "TimeDateGroup is an RBP group that represents a collection of time/dates and/or wildcard patterns that match\ntimes/dates",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "x-go-name": "Description"
          },
          "disabled": {
            "type": "integer",
            "format": "int8",
            "x-go-name": "Disabled"
          },
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "extinfo": {
            "type": "string",
            "x-go-name": "ExternalLookupInfo"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "readonly": {
            "type": "boolean",
            "x-go-name": "ReadOnly"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "tmdates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TimeDateRanges"
            },
            "x-go-name": "TimeDates",
            "maxItems": 500
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "TimeDateRange": {
        "description": "TimeDateRange represents a time of day range",
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "x-go-name": "From"
          },
          "to": {
            "type": "string",
            "x-go-name": "To"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "TimeDateRanges": {
        "description": "TimeDateRanges is a transformed data structure meant to be equivalent to TimeDateDefinition but abstracted by our API",
        "type": "object",
        "properties": {
          "dotw": {
            "$ref": "#/components/schemas/TimeDateDayOfTheWeekRanges"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "unixrange": {
            "type": "object",
            "properties": {
              "from": {
                "type": "integer",
                "format": "int64",
                "x-go-name": "From"
              },
              "to": {
                "type": "integer",
                "format": "int64",
                "x-go-name": "To"
              }
            },
            "x-go-name": "Range"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "User": {
        "description": "User contains the fields associated with a given user's account",
        "type": "object",
        "required": [
          "username",
          "email",
          "firstname",
          "lastname",
          "admin",
          "active"
        ],
        "properties": {
          "CreatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "DeletedAt": {
            "type": "string",
            "format": "date-time"
          },
          "ID": {
            "description": "gorm.Model is not used here, as there is a unique constraint on username combined with deleted at",
            "type": "integer",
            "format": "uint64"
          },
          "UpdatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "active": {
            "type": "boolean",
            "x-go-name": "Active"
          },
          "admin": {
            "type": "boolean",
            "x-go-name": "Admin"
          },
          "email": {
            "type": "string",
            "x-go-name": "Email"
          },
          "email_verified": {
            "type": "boolean",
            "x-go-name": "EmailVerified"
          },
          "firstname": {
            "type": "string",
            "x-go-name": "FirstName"
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Group"
            },
            "x-go-name": "Groups",
            "maxItems": 500
          },
          "lastname": {
            "type": "string",
            "x-go-name": "LastName"
          },
          "lockedUntil": {
            "type": "string",
            "format": "date-time",
            "x-go-name": "LockedUntil"
          },
          "password_expiry_date": {
            "type": "string",
            "format": "date-time",
            "x-go-name": "PasswordExpiryDate"
          },
          "remoteUser": {
            "$ref": "#/components/schemas/RemoteUser"
          },
          "remoteUserID": {
            "type": "integer",
            "format": "uint64",
            "x-go-name": "RemoteUserID"
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Role"
            },
            "x-go-name": "Roles",
            "maxItems": 500
          },
          "username": {
            "type": "string",
            "x-go-name": "Username"
          }
        },
        "x-go-package": "pbsmc/data/models"
      },
      "UserGroup": {
        "description": "UserGroup is an RBP group that represents a collection of users and/or wildcard patterns that match usernames",
        "type": "object",
        "properties": {
          "description": {
            "type": "string",
            "x-go-name": "Description"
          },
          "disabled": {
            "type": "integer",
            "format": "int8",
            "x-go-name": "Disabled"
          },
          "error": {
            "type": "string",
            "x-go-name": "Message"
          },
          "extinfo": {
            "type": "string",
            "x-go-name": "ExternalLookupInfo"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "msg": {
            "type": "string",
            "x-go-name": "Reason"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "readonly": {
            "type": "boolean",
            "x-go-name": "ReadOnly"
          },
          "single": {
            "type": "integer",
            "format": "int8",
            "x-go-name": "SingleUser"
          },
          "status": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "Status"
          },
          "type": {
            "type": "string",
            "x-go-name": "Type"
          },
          "users": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/User"
            },
            "x-go-name": "Users",
            "maxItems": 500
          },
          "whoami": {
            "type": "string",
            "x-go-name": "WhoAmI"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      }
    },
    "securitySchemes": {
      "nomine-authorizer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-amazon-apigateway-authtype": "custom",
        "x-amazon-apigateway-authorizer": {
          "type": "request",
          "authorizerUri": "${authorizerInvokeArn}",
          "authorizerResultTtlInSeconds": 300,
          "identitySource": "method.request.header.Authorization"
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.beyondtrust.io/site/{siteid}/epm/linux"
    }
  ],
  "x-readme": {}
}
```