Deleting Clouds

As soon as you have deleted all Instances and removed all Apps from a Cloud you also can delete the Cloud.
Therefore you just have to send a DELETE to `/api/clouds/XXXXX'

RestClient.delete(API_aim + "/api/clouds/XXXXX, headers)

If this doesn't work you will get an error code back. A 412 'Precondition Failed' should hint you to check if you already have removed all Instances and Apps of this Cloud.