Unassign Asset
Remove an asset from an employee.
POST
/api/v1/assets/unassign/userDescription
Remove the link between a device and an employee — for example when someone leaves or returns equipment. The asset must currently be assigned (In Use). Provide the employee's work email and the new status after unassignment, such as Ready to Deploy. asset_status cannot be In Use.
Request
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_number | string | Yes | Asset number from the asset record |
| assign_to_email | string | Yes | Work email of the employee currently assigned to the asset |
| asset_status | string | Yes | New status after unassignment (e.g. Ready to Deploy). Cannot be In Use. |
Related Endpoints
Did this page help you?
Request
curl -X POST https://uat.unduit.com/api-exposed/api/v1/assets/unassign/user \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"asset_number": "2454820250602045337",
"assign_to_email": "john.doe@example.com",
"asset_status": "Ready to Deploy"
}'Success Response (200)
{
"message": "Asset unassigned successfully."
}