v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1450295228.5 KB

Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication is stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling the replication of the Source Server will be terminated / deleted within 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If the agent on the Source Server has not been prevented from communicating with the Elastic Disaster Recovery service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.

post/DisconnectSourceServer

Request body

sourceServerIDstring required

The ID of the Source Server to disconnect.

Response

Success

sourceServerIDstring

The ID of the Source Server.

arnstring

The ARN of the Source Server.

tagsobject

The tags associated with the Source Server.

recoveryInstanceIdstring

The ID of the Recovery Instance associated with this Source Server.

lastLaunchResult'NOT_STARTED' | 'PENDING' | 'SUCCEEDED' | 'FAILED'

The status of the last recovery launch of this Source Server.

replicationDirection'FAILOVER' | 'FAILBACK'

Replication direction of the Source Server.

reversedDirectionSourceServerArnstring

For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.

sourceNetworkIDstring

ID of the Source Network which is protecting this Source Server's network.

agentVersionstring

The version of the DRS agent installed on the source server