Box Developerドキュメント

Box Developerドキュメントの新しいベータ版サイトがまもなくリリースされる予定です。最新の開発者向けガイド、APIリファレンス、AI搭載の検索により、Boxを使用した迅速な開発をサポートします。更新情報については今しばらくお待ちください。

最新バージョン

デバイスピンを削除

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

このエンドポイントはバージョン2024.0です。引き続き使用するために 変更は必要ありません。詳細については、 **Box APIのバージョン管理**を参照してください。

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

リクエスト

bearer [ACCESS_TOKEN]
application/json

パスパラメータ

stringパス内必須
2324234

デバイスピンのID。

レスポンス

none

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

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

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

リクエストの例

Box SDKのバージョン戦略の詳細については、 **こちら**を確認してください。


cURL
curl -i -X DELETE "https://api.box.com/2.0/device_pinners/2324234" \
     -H "authorization: Bearer <ACCESS_TOKEN>"
Node/TypeScript v10
await client.devicePinners.deleteDevicePinnerById(devicePinnerId);
Python v10
client.device_pinners.delete_device_pinner_by_id(device_pinner_id)
.NET v10
await client.DevicePinners.DeleteDevicePinnerByIdAsync(devicePinnerId: devicePinnerId);
Swift v10
try await client.devicePinners.deleteDevicePinnerById(devicePinnerId: devicePinnerId)
Java v10
client.getDevicePinners().deleteDevicePinnerById(devicePinnerId)
.NET v6
await client.DevicePinners.DeleteDevicePinnerByIdAsync(devicePinnerId: devicePinnerId);
Node v4
await client.devicePinners.deleteDevicePinnerById(devicePinnerId);