PATCH: Remove Companies from a Folder Ingrid https://api.bitsighttech.com/ratings/v1/folders/folder_guid/companies Remove companies from a folder. Companies cannot be removed from the “All Companies” folder. Parameters * Required. folder_guid * Required. [Path] Identify the folder to edit. Value: [String] Folder unique identifier [folder_guid]. See GET: Folder Details. remove_companies * Required. [Body] Identify companies to remove from the folder. Value: [Array] Comma-separated company unique identifiers [entity_guid]. See GET: Portfolio Details. Example Request Create a JSON object using the remove_companies parameter. Its value should be an array of unique identifiers (GUID) of the companies that you'd like to be removed from the folder. cURL: curl 'https://api.bitsighttech.com/ratings/v1/folders/fcc8b8c4-4fa3-4735-ac14-405ac7855d70/companies' -X PATCH -H 'Content-Type: application/json' --data-binary '{ "remove_companies":[ "1b3d260c-9e23-4e19-b3a5-a0bcf67d74d9", "a5e23bf0-38d4-4cea-aa50-19ee75da481d" ] }' --compressed -u api_token: JSON: { "remove_companies":[ "1b3d260c-9e23-4e19-b3a5-a0bcf67d74d9", "a5e23bf0-38d4-4cea-aa50-19ee75da481d" ] } Example Response { "removed":[ "1b3d260c-9e23-4e19-b3a5-a0bcf67d74d9", "a5e23bf0-38d4-4cea-aa50-19ee75da481d" ] } Response Attributes Field Description removed Array [entity_guid] Companies that were removed from the folder. March 13, 2019: Published. Related articles GET: Product Details GET: Folder Details PATCH: Add Companies to a Folder GET: Findings in a Folder Modifying Companies in a Folder Feedback 3 comments Sort by Date Votes Christopher Lane November 10, 2021 12:44 not what I was looking for 0 Ingrid November 10, 2021 14:06 Hello Christopher. Can you clarify what you are looking for? 0 Christopher Lane November 10, 2021 14:20 I'm trying to remove a company (and all of its assets/findings) from a ratings tree hierarchy. The logic in the support-ticket process forced me into a screen related to removing a company from a folder. 0 Please sign in to leave a comment.