Extension Manager Update Extension

Extension Manager Update Extension

If the key specified in the extension exists, the existing record is updated.

If the "subjectName" property of the Extension object has a value, and it is different from the existing value, this method will unset any public key or certificate associated with the extension.

Required privileges: Extension.Update

Request
URI
POST
https://{api_host}/sdk/vim25/{release}/ExtensionManager/{moId}/UpdateExtension
COPY
Path Parameters
string
moId
Required

The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId, in this case ExtensionManager/{moId}.

string
release
Required

The vSphere release schema. The current specification covers vSphere 9.0.0.0 APIs.


Request Body
UpdateExtensionRequestType of type(s) application/json
Required
"UpdateExtensionRequestType Object"
extension
Required

Updated extension description.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

500

NotFound: if the specified extension key is not registered.

InvalidArgument: if the Extension description is incomplete or invalid, or if the extension is an OVF extension and its section types overlap with other registered OVF extensions.

Returns NotFound of type(s) application/json
"NotFound Object"

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/sdk/vim25/{release}/ExtensionManager/{moId}/UpdateExtension