日本時間5月16日のContent Cloud Summitで、カスタムアプリにBox AI APIを活用する方法を紹介します。

詳細を表示

デバイスピンを削除

delete
https://api.box.com/2.0
/device_pinners/:device_pinner_id

個々のデバイスピンを削除します。

リクエスト

bearer [ACCESS_TOKEN]
application/json

パスパラメータ

stringパス内必須
2324234

デバイスピンのID

レスポンス

none

ピンが削除された場合は、空のレスポンスを返します。

予期しないクライアントエラー。

delete
デバイスピンを削除
このドキュメント内で一部のAPIを試せるようになりました。
ログイン

リクエストの例

cURL
curl -i -X DELETE "https://api.box.com/2.0/device_pinners/2324234" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
.NET
await client.DevicePinManager.DeleteDevicePin(id: "11111");
Java
BoxDevicePin devicePin = new BoxDevicePin(api, id);
devicePin.delete();
Python
device_pin_id = '1111'
client.device_pin(device_pin_id).delete()
print('Device pin deleted!')
Node
client.devicePins.delete('28345')
    .then(() => {
        // deletion succeeded — no value returned
    });
iOS
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")
}