Assign Assets
Assign an existing asset to a user within the system.
POST
/api/v1/assets/assign/userDescription
This endpoint assigns an existing asset to a user within the system, based on the asset number and the user's email address. It's typically used by administrators or asset managers to link devices or hardware to specific employees for accountability and lifecycle tracking. Asset status type must be 'Deployable' to assign the asset.
Request
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| asset_number | string | Yes | The unique ID of the asset to assign |
| assign_to_email | string | Yes | The email of the user to whom the asset is being assigned |
Related Endpoints
Did this page help you?
Request
curl -X POST https://dev-api.unduit.com/api/v1/assets/assign/user \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"asset_number": "441819700101000000",
"assign_to_email": "[email protected]"
}'Success Response (200)
{
"message": "Asset assigned successfully."
}