Skip to main content

Add Assets To Inventory

This operation adds one or more assets to an Inventory.

Request Body
  • inventoryId integer
  • assets object[]
  • name string
  • type integer
Responses

OK


Schema
  • errorResp object
PUT /ediscoveryclients/inventories    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Body

{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EDiscoveryClients/Inventories' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"inventoryId": 0,
"assets": [
{
"name": "string",
"type": 0
}
]
}'