示例#1
0
 /// <summary>
 /// Delete the network with the given id. The network must be empty.
 ///
 /// Send DELETE request to the APIROOT/networks/id Url
 /// </summary>
 /// <param name="id">Unique identifier of the network</param>
 /// <exception cref="WebException">This exception indicates some service level error. Please refer to the HTTP error code for more information</exception>
 public void Delete(string id)
 {
     RestConnection.Delete("networks/" + id);
 }
示例#2
0
 /// <summary>
 /// Delete the device with the given id.
 ///
 /// Send DELETE request to the APIROOT/devices/id Url
 /// </summary>
 /// <param name="id">Unique identifier of the device</param>
 /// <exception cref="WebException">This exception indicates some service level error. Please refer to the HTTP error code for more information</exception>
 public void Delete(string id)
 {
     RestConnection.Delete("devices/" + id);
 }
示例#3
0
 /// <summary>
 /// Delete the company with the given id. The company must be empty.
 ///
 /// Send DELETE request to the APIROOT/companies/id Url
 /// </summary>
 /// <param name="id">Unique identifier of the company</param>
 /// <exception cref="WebException">This exception indicates some service level error. Please refer to the HTTP error code for more information</exception>
 public void Delete(string id)
 {
     RestConnection.Delete("companies/" + id);
 }