curl -i -X DELETE "https://api.box.com/2.0/device_pinners/2324234" \
-H "authorization: Bearer <ACCESS_TOKEN>"
client.device_pinners.delete_device_pinner_by_id(device_pinner_id)
await client.DevicePinners.DeleteDevicePinnerByIdAsync(devicePinnerId: devicePinnerId);
BoxDevicePin devicePin = new BoxDevicePin(api, id);
devicePin.delete();
device_pin_id = '1111'
client.device_pin(device_pin_id).delete()
print('Device pin deleted!')
await client.DevicePinManager.DeleteDevicePin(id: "11111");
client.devicePins.delete('28345')
.then(() => {
// deletion succeeded — no value returned
});
client.devicePins.delete(devicePinId: "12345") { result: Result<Void, BoxSDKError> in
guard case .success = result else {
print("Error deleting device pin")
return
}
print("Device Pin successfully deleted")
}