# Create Multiple In-House Rules Creates one or more in-house library rules Endpoint: POST /api/v2.0/orgs/{orgToken}/settings/inHouse/rules Version: 3.0.1 Security: bearer-key ## Path parameters: - `orgToken` (string, required) org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: tab > ). ## Request fields (application/json): - `type` (string, required) Enum: "NAME", "LIBRARY_COORDINATES", "ARTIFACT_ID" - `regex` (string, required) Example: "*aa*" - `description` (string) Example: "description for inHouse rule" - `empty` (boolean) ## Response 200 fields (application/json): - `additionalData` (object) + : Serves as an alert to inform you about the status of the rule being updated. The warning message will provide information about whether the rule already exists or if some of the rules are already present Example: {"warningMessage":"item already exists"} - `supportToken` (string) Example: "1171c60d" - `retVal` (array) - `retVal.uuid` (string) - `retVal.type` (string, required) Enum: "NAME", "LIBRARY_COORDINATES", "ARTIFACT_ID" - `retVal.regex` (string) Example: ".*a*" - `retVal.description` (string) - `retVal.createdAt` (string) - `retVal.createdBy` (string) Jon.Snow - `retVal.empty` (boolean) ## Response 400 fields (*/*): - `supportToken` (string) Example: "1171c60d" ## Response 403 fields (*/*): - `supportToken` (string) Example: "1171c60d"