API Actions: DeactivateInstance

API Actions: DeactivateInstance 

Supported in product version 11.10 and above

This method is applicable only to the the product version that requires activation with a product activation key.

This method deactivates the instance. The activation key will become available to be used to activate another instance.  It has no parameters.

Note: Upon deactivation, the replication execution is stopped, but the replication schedules remain in place. The instance can be activated with the same or another activation key and replication execution resumed by calling StartReplicationService

 

Request Syntax:

GET /api/DeactivateInstance  HTTP/1.1
Host: use.your.host.name:82
X-Amz-Content-Sha256: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
X-Amz-Date: 20171115T202130Z
Authorization: AWS4-HMAC-SHA256 Credential=UQOPWUVNBALABCABCABC/20171115/us-east-1/cloudbasic/aws4_request, SignedHeaders=content-length;content-type;host;x-amz-content-sha256;x-amz-date, Signature=995374189c189e8e68ed3de82c1764ca11971711fb5179eeab2b19edd883dd74

 

Request Parameters

None

Request Headers

This implementation uses only request headers that are common to all operations. For more information please see the section Common Request Headers

Response Syntax:

HTTP/1.1 200
status: 200

 

Response Parameters

None

 

Error Response Syntax:

XML

HTTP/1.1 400
status: 400

<?xml version="1.0" encoding="utf-8"?>
<ErrorResponse>
	<RequestId>request-id</RequestId>
	<Errors>
		<Error> Instance is not activated </Error> 
	</Errors>
</ErrorResponse>

JSON

HTTP/1.1 400
status: 400

{
   "errors": [
		"Instance is not activated"
	],
	"requestId": 20
}