Add the power of the Box AI API to your custom apps at Content Cloud Summit on May 15
Learn more and register!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>"
await client.DevicePinManager.DeleteDevicePin(id: "11111");
BoxDevicePin devicePin = new BoxDevicePin(api, id);
devicePin.delete();
device_pin_id = '1111'
client.device_pin(device_pin_id).delete()
print('Device pin deleted!')
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")
}