メインコンテンツへスキップ
DELETE
/
retention_policy_assignments
/
{retention_policy_assignment_id}
Python
client.retention_policy_assignments.delete_retention_policy_assignment_by_id(
    retention_policy_assignment.id
)
{
  "type": "error",
  "status": 400,
  "code": "item_name_invalid",
  "message": "Method Not Allowed",
  "context_info": {
    "message": "Something went wrong"
  },
  "help_url": "https://developer.box.com/guides/api-calls/permissions-and-errors/common-errors/",
  "request_id": "abcdef123456"
}
このリソースは、バージョン2024.0のエンドポイントで使用されています。 詳細については、 Box APIのバージョン管理を参照してください。Box SDKのバージョニング戦略について詳しく学ぶ。」

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

retention_policy_assignment_id
string
必須

リテンションポリシー割り当てのID。

レスポンス

ポリシー割り当てが正常に削除された場合は、空のレスポンスを返します。