Skip to main content

Unregister device

DELETE 

/ownerships/:deviceId

Unregister device.

Authorization Action:

resource:devices:unregister

Request

Path Parameters

    deviceId stringrequired

Responses

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Delete, "https://connhex.com/ownerships/:deviceId");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Parameters
— pathrequired