Replace Metadata Entries
Replaces all metadata entries for the region with the provided desired state. All existing entries are deleted and all provided entries are created. Operation is atomic - either all succeed or all fail with rollback.
Note: This operation only supports simple key-value metadata entries (string, number, boolean). File metadata entries are not supported and will result in an error.
the URN of the entity the entry is attached to.
Complete desired state of metadata entries that the entity should have
{
"resultTotal": 0,
"pageCount": 0,
"page": 0,
"pageSize": 0,
"associations": [
{
"entityId": "string",
"associationId": "string"
}
],
"values": [
{
"id": "string",
"persistent": false,
"readOnly": false,
"keyValue": {
"domain": "string",
"namespace": "string",
"key": "string",
"value": {
"value": {},
"type": "string"
}
}
}
]
}
Task created to replace metadata entries. Track progress using the task link in the Location header.
This operation contains the following vendor extensions defined in the spec:
[{"type":"Modern"}]
curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/cloudapi/v1/regions/{id}/metadata