Archive
Authorizations
Path parameters
inventoryIdstring · uuidRequiredExample:
The Inventory ID to add the tags to
123e4567-e89b-12d3-a456-426614174000
Query parameters
reasonstring · enumRequiredExample:
The reason the inventory is being archived
GIFTED
Possible values: Responses
200
Inventory archived successfully
application/json
400
Bad request
application/json
403
Forbidden
*/*
404
Inventory not found
application/json
post
POST /api/inventory/{inventoryId}/archive HTTP/1.1
Host: apipub.firstbasehq.com
Authorization: YOUR_API_KEY
Accept: */*
{
"deployStatus": "ARCHIVED",
"deployReason": "LOST_BY_WORKER"
}