Skip to main content
POST
Create an Inventory

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string<uuid>
required

Unique identifier for the entity

Example:

"5df33a85-2b9c-40e3-8854-760ee3b8efc7"

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
name
string
required

the inventory name

default
boolean
required

flag if the inventory is the default one

resources
object[]
required

the inventory resources list

description
string

the inventory description

Response

inventory created

id
string<uuid>
required

Unique identifier for the entity

Example:

"5df33a85-2b9c-40e3-8854-760ee3b8efc7"

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
name
string
required

the inventory name

default
boolean
required

flag if the inventory is the default one

resources
object[]
required

the inventory resources list

description
string

the inventory description