Austin.Linode.LinodeClient.Linode_Delete C# (CSharp) Method

Linode_Delete() public method

Immediately removes a Linode from your account and issues a pro-rated credit back to your account, if applicable. To prevent accidental deletes, this requires the Linode has no Disk images. You must first delete its disk images."
possible errors: NOTFOUND,LINODENOTEMPTY
public Linode_Delete ( int LinodeID, bool skipChecks = null ) : Austin.Linode.LinodeIdResponse
LinodeID int The LinodeID to delete
skipChecks bool Skips the safety checks and will always delete the Linode
return Austin.Linode.LinodeIdResponse
        public Austin.Linode.LinodeIdResponse Linode_Delete(
                int LinodeID,
                bool? skipChecks = null)
        {
            var myParams = new Dictionary<string, string>();
            myParams.Add("LinodeID", LinodeID.ToString(CultureInfo.InvariantCulture));
            if (skipChecks != null)
                myParams.Add("skipChecks", skipChecks.Value ? "true" : "false");
            return GetResponse<Austin.Linode.LinodeIdResponse>("linode.delete", myParams);
        }