Update asset
Updates an asset name.
PATCH /api/v1/assets/{asset_id}
Only fields present in the request body are updated.
Back to Assets endpoint listRequest parameters
| Field | Type | Required | Description |
|---|---|---|---|
asset_id | path | Yes | Asset ID. |
name | string | No | New asset name, 1 to 32 characters. |
Request examples
curl -X PATCH "https://api.globalrouter.com/api/v1/assets/asset_123" \
-H "Authorization: Bearer $GR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "name": "updated-reference" }'Response fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Asset ID. |
Response example
{
"id": "asset_123"
}