Create Metadata Entry
DescriptionCreates a new entry. This operation is allowed only if the user has at least a read access level to the main entity. Additionally file entries require the user to have the 'Metadata File Entry: Create/Modify' right.
Request
URLURL
Path Parameters
Path Parameters
the URN of the entity the entry is attached to.
Request Body
{
"keyValue": {
"domain": "string",
"key": "string",
"value": {
"type": "string",
"value": {}
}
}
}
Persistent entries can be copied over on some entity operation, for example: | Creating a copy of an Org VDC | Capturing a vApp to a template | Instantiating a catalog item as a VM
The kind of level of access organizations of the entry’s domain have
Authentication
Response
Response BodyResponse Body
201 Created
{
"id": "string",
"keyValue": {
"domain": "string",
"key": "string",
"namespace": "string",
"value": {
"type": "string",
"value": {}
}
},
"persistent": false,
"readOnly": false
}
Persistent entries can be copied over on some entity operation, for example: | Creating a copy of an Org VDC | Capturing a vApp to a template | Instantiating a catalog item as a VM
The kind of level of access organizations of the entry’s domain have
202 Accepted
The request have been accepted and the task to monitor the request is in the Location header.
Errors
Invalid configuration.
Code Samples
cURL Command
Vendor Extensions
x-vcloud-event: com/vmware/vcloud/event/metadata/create
What's changed in v37.0?
x-vcloud-added-in
to 202
to 400