Assets

Update asset

PUT
/api/public/v3/assets/{id}

Path Parameters

id*integer

Request Body

application/x-www-form-urlencoded

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/api/public/v3/assets/0" \  -H "Content-Type: application/x-www-form-urlencoded" \  -d 'name=string'
{  "data": {    "id": 0,    "name": "string",    "code": "string",    "serial_number": null,    "description": "string",    "price": null,    "currency_code": "string",    "location_id": 0,    "asset_category_id": 0,    "created_at": "string",    "updated_at": "string",    "warranity_expires_on": null,    "asset_assignments": [      null    ]  }}