update an inventory status with DRAFT, APPROVED and REJECTED status.The approve/reject inventory affects Manual Review task only. Any changes made to Inventory will not affect Remediation and Miscellaneous tasks. On Approving Inventory, Inventory gets Approved and Manual review task will be closed with Approve status. On Rejecting Inventory, Inventory gets Rejected by creating an open Remediation task and the Manual review task will be closed with Reject status.
Security
bearerAuth
- Mock serverhttps://codeinsightapi.redocly.app/_mock/swagger/inventories/{inventoryId}/status
- Code Insight REST API Serverhttps://codeinsightapi.redocly.app/codeinsight/api/inventories/{inventoryId}/status
curl -i -X PUT \
'https://codeinsightapi.redocly.app/_mock/swagger/inventories/1/status?status=DRAFT' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'