Assets
Edit custom fields of an asset
Edit the custom field values of a specific asset.
patch/assets/{asset_id}/custom-fields
Request
- Base URLhttps://enterprise.knak.io/api/published/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
asset_idstring required
ID of asset
Request body
Example request
{
"asset_custom_fields": [
{
"key": "custom_field_key_1",
"value": "field value 1"
}
]
}Response
OK
Example response
{
"data": {
"type": "asset-custom-fields",
"id": "609d7ce223411",
"attributes": {
"asset_id": "609d7ce223411",
"custom_fields": [
{
"label": "Custom Field 1",
"key": "custom_field_1",
"value": "My Value"
}
]
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.