/// <summary>
/// Unclaims the Device asynchronous.
/// </summary>
/// <returns></returns>
public async Task <Result> UnclaimAsync()
{
try
{
var result = await cloud.MakeDeleteRequestWithAuthTestAsync($"devices/{Id}");
return(result.AsResult());
}
catch (HttpRequestException re)
{
return(new Result
{
Success = false,
Error = re.Message,
Exception = re
});
}
}