com.vmware.vapi.vcenter.activation

The VMODL2 for the activation functionality.

cancel

POST /com/vmware/vapi/vcenter/activation/id:{activation_id}?~action=cancel
POST /com/vmware/vapi/vcenter/activation?~action=cancel

Sends a request to cancel the task associated with the provided activationId.
Request:
Representations:
{
    "activation_id""obj-103"
}
<?xml version="1.0" ?>
<ns0:Cancel-Input xmlns:ns0="http://vmware.com/vapi/vcenter/activation" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <activation_id>obj-103</activation_id>
</ns0:Cancel-Input>
POST /com/vmware/vapi/vcenter/activation?~action=cancel
&activation_id=obj-103

Parameters:
Name Type Required Description
activation_id
 *
ID Yes the activationId associated with a VC task that will be canceled. Id of type com.vmware.Activation.

Response:
Representations:

Parameters:
Name Type Required Description
result VOID Yes

Errors:
Type Description HTTP Status Code
not_found if a VC task with the given activationId was not found. 404
not_allowed_in_current_state if the VC task associated with the given activationId is not cancelable. 400
unauthorized if the user is not authorized to cancel the task. 403
unauthenticated if the user is not authenticated. 401
service_unavailable 503

Copyright © 2014. All Rights Reserved.