Infrastructure/Assets
POSTInfrastructureSince 1.0SynchronousAuth Required
CreateAssetLabelKey
Register a new custom label key for use in asset labeling.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
keyNameStringRequiredInternal key name used in label expressions (snake_case recommended)
Example: cost_center
displayNameStringRequiredUser-facing display name for this label key
Example: Cost Center
descriptionStringRequiredDescription explaining the purpose of this label key
Example: Identifies the cost center responsible for this asset
valueSuggestionsListRequiredValue suggestions
Example: item1,item2
Responses
Endpoint
POST/api/v1/assets/label-keys
/api/v1/assets/label-keys
Request Example
curl -X POST '{host}/api/v1/assets/label-keys' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"keyName":"cost_center","displayName":"Cost Center","description":"Identifies the cost center responsible for this asset","valueSuggestions":"item1,item2"}'
Response Example
200{
"data": null
}Change History
This API has no change history records yet.
