Join BoxWorks 2024 to discover what's possible with content and AI!
Register now!Deletes an individual device pin.
2324234
The ID of the device pin
Returns an empty response when the pin has been deleted.
An unexpected client error.
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")
}