REST API - set

esx vm data sets entries: set

Sets an entry in a data set. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

PUT https://{server}/api/esx/vm/{vm}/data-sets/{dataSet}/entries/{key}
"string"

Path Parameters

Name Type Description
Required
vm string Identifier of the virtual machine.
key string The key of the entry to set. A key can be at most 4096 bytes.

Body Parameters:

Name Type Description
bold = required
- string The value of the entry to set. A value can be at most 1MB.

Response:

HTTP Status Code: 204

Headers:

None

Type:

None

Errors:

HTTP Status Code Type Description
404 not_found if the virtual machine is not found.
500 unable_to_allocate_resource if the operation will exceed the maximum size of the data set.
403 unauthorized if the data set access mode prevents the operation.