Skip to content

inventory status

Request

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
Path
inventoryIdinteger, (int64)required

ID of the Inventory

Example:1
Query
statusstringDRAFT|APPROVED|REJECTEDrequired
Default:"DRAFT"
Enum:"DRAFT""APPROVED""REJECTED"
curl -i -X PUT \
  'https://codeinsightapi.redocly.app/_mock/swagger/inventories/1/status?status=DRAFT' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK