Remote Destroy

Skynet can destroy (delete) remote clusters and resets theirs databases via remote command.
If you want do destroy remote cluster use command:

@destroy;

For confirmation this command requires parameter "confirm", so if you want to destroy remote cluster then type in console:

@destroy confirm:"1";

or

@destroy confirm:"yes";


Commands above will destroy all remote clusters.
If you want to destroy only specified cluster(s) mix the command with command "@to" as below:

@destroy confirm:"yes";
@to "CLUSTER_ADDRESS";

or:

@destroy confirm:"yes";
@to CLUSTER_ADDRESS1, CLUSTER_ADDRESS2, CLUSTER_ADDRESS3...;

(clusters addresses without quotes)


If you want to reset clusters list on remote cluster use command:

@reset;

This will resets all clusters registries in remote clusters.
If you want to reset only specified cluster(s) mix this command with command "to" as below:

@reset;
@to "CLUSTER_ADDRESS";

or:

@reset;
@to CLUSTER_ADDRESS1, CLUSTER_ADDRESS2, CLUSTER_ADDRESS3...;

(clusters addresses without quotes)
Full API Documentation is included in Skynet packages available on GitHub.