日本語
cURL
curl -i -X DELETE "https://api.box.com/2.0/storage_policy_assignments/932483" \ -H "authorization: Bearer <ACCESS_TOKEN>" \ -d '{ "items": { "type": "storage_policy", "id": "1434325" } }'
{ "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" }
ストレージポリシーの割り当てを削除します。
ユーザーに対するストレージポリシーの割り当てを削除すると、そのユーザーは会社のデフォルトのストレージポリシーを継承します。
このエンドポイントの呼び出しには、24時間につき1ユーザーあたり2回までというレート制限が適用されます。
The access token received from the authorization server in the OAuth 2.0 flow.
ストレージポリシー割り当てのID。
ストレージポリシー割り当てが正常に削除された場合は、空のレスポンスを返します。
このページは役に立ちましたか?