Digital Asset Management (DAM)
Custom metadata fields
Update existing field
This API updates the label or schema of an existing custom metadata field.
patch/v1/customMetadataFields/{id}
Path parameters
idstring required
Should be a valid custom metadata field id.
Request body
Example request
{
"schema": {
"selectOptions": [
"small",
"medium",
"large",
30,
40,
true
],
"defaultValue": [
true,
10,
"Hello"
]
}
}Response
Custom metadata field updated successfully.
Example response
{
"schema": {
"selectOptions": [
"small",
"medium",
"large",
30,
40,
true
],
"defaultValue": [
true,
10,
"Hello"
]
}
}