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

# Delete RBP Entities

Delete RBP multiple entities.
Accepts an array in the form:
`[{ "entity": { "id": 1, "name": "*" }}, ...]`
Only one entity per array element.

# 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/v6/pbul/{hostid}/rbp/delete": {
      "post": {
        "description": "Delete RBP multiple entities.\nAccepts an array in the form:\n`[{ \"entity\": { \"id\": 1, \"name\": \"*\" }}, ...]`\nOnly one entity per array element.",
        "tags": [
          "RBP",
          "saas"
        ],
        "summary": "Delete RBP Entities",
        "operationId": "rbpDeleteEntitiesV6",
        "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"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/RBPDeleteEntity"
                },
                "maxItems": 500
              }
            }
          }
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/EmptyResponse"
          },
          "400": {
            "$ref": "#/components/responses/TextError"
          }
        },
        "x-amazon-apigateway-integration": {
          "type": "aws_proxy",
          "httpMethod": "POST",
          "uri": "${biulInvocationArn}"
        }
      }
    }
  },
  "components": {
    "responses": {
      "EmptyResponse": {
        "description": "EmptyResponse No response body is provided with this request"
      },
      "TextError": {
        "description": "TextError An unknown error occurred, details provided in body"
      }
    },
    "schemas": {
      "RBPCommand": {
        "type": "object",
        "properties": {
          "cmd": {
            "type": "string",
            "x-go-name": "Cmd"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPCommandGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPDeleteEntity": {
        "type": "object",
        "properties": {
          "cmdgrp": {
            "$ref": "#/components/schemas/RBPCommandGroup"
          },
          "cmdlist": {
            "$ref": "#/components/schemas/RBPCommand"
          },
          "hostgrp": {
            "$ref": "#/components/schemas/RBPHostGroup"
          },
          "hostlist": {
            "$ref": "#/components/schemas/RBPHost"
          },
          "role": {
            "$ref": "#/components/schemas/RBPDeleteRole"
          },
          "rolecmds": {
            "$ref": "#/components/schemas/RBPRoleCommand"
          },
          "rolehosts": {
            "$ref": "#/components/schemas/RBPRoleHost"
          },
          "roletmdates": {
            "$ref": "#/components/schemas/RBPRoleTimeDate"
          },
          "roleusers": {
            "$ref": "#/components/schemas/RBPRoleUser"
          },
          "tmdategrp": {
            "$ref": "#/components/schemas/RBPTimeDateGroup"
          },
          "tmdatelist": {
            "$ref": "#/components/schemas/RBPTmDate"
          },
          "usergrp": {
            "$ref": "#/components/schemas/RBPUserGroup"
          },
          "userlist": {
            "$ref": "#/components/schemas/RBPUser"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPDeleteRole": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPHost": {
        "type": "object",
        "properties": {
          "host": {
            "type": "string",
            "x-go-name": "Host"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPHostGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPRoleCommand": {
        "type": "object",
        "properties": {
          "cmds": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "CommandGroup"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPRoleHost": {
        "type": "object",
        "properties": {
          "hosts": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "HostGroup"
          },
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          },
          "type": {
            "type": "string",
            "x-go-name": "Type"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPRoleTimeDate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          },
          "tmdates": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "TimeDateGroup"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPRoleUser": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "rolename": {
            "type": "string",
            "x-go-name": "Name"
          },
          "type": {
            "type": "string",
            "x-go-name": "Type"
          },
          "users": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "UserGroup"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPTimeDateGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPTmDate": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "tmdate": {
            "type": "string",
            "x-go-name": "TmDate"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPUser": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "user": {
            "type": "string",
            "x-go-name": "User"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest/entities"
      },
      "RBPUserGroup": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "ID"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          }
        },
        "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": {}
}
```