Asset Custom Fields

Add your own fields, such as a CMDB tag, to every asset.

Add your own fields to assets. For example, a Tag # from your CMDB.

Every asset in your organization gets the fields you define.


Add a custom field

Assets tile in Settings
  1. Go to Settings and select the Assets tile.
  2. Click Add custom field.
  3. Fill in:
    • Display name: the label people see, such as Tag #.
    • Key: the name used in the API, such as cmdb_tag. Lowercase letters, digits and underscores, starting with a letter.
    • Type: Text, Number or Date.
  4. Click Add custom field.
Add custom field dialog Custom fields list
📘

Key and Type cannot be changed later. You can rename the Display name in the table.

📘

Only admins see the Assets tile. It shows when Asset Management is enabled for your organization.


Fill in a value

  • Open an asset (add or edit) and use the Custom fields section.
Custom fields section in the asset form
  • The values show in the asset details.
  • In the assets table they are optional columns. Turn them on from the column picker.

Delete a custom field

  1. Go to Settings → Assets.
  2. Open the field's menu and click Delete.
  3. Confirm.

Deleting a field also removes its values from every asset.


Use custom fields through the API

Custom field values are part of every asset in the Organization API.

{
  "custom_fields": { "cmdb_tag": "TAG-0042" }
}

Define the fields in the portal first. The API does not create fields.

API key

  1. Go to Settings → API Keys and create a key. See API Keys.
  2. Send it in the Authorization header of every request.
curl -X PUT "https://hub.xyte.io/core/v1/organization/assets/{asset_id}" \
  -H "Authorization: <your API key>" \
  -H "Content-Type: application/json" \
  -d '{"custom_fields": {"cmdb_tag": "TAG-0042"}}'

A key has full access to the organization. Keep it secret.


Limits

  • Up to 20 custom fields per organization.
  • Key: up to 50 characters. Display name: up to 100.
  • Text values: up to 255 characters.
  • Number values: up to ±9,007,199,254,740,991.
  • Date values: YYYY-MM-DD.

Did this page help you?