# インベントリアイテムを取り消す 複数のユーザーのアイテムのアクセス権を剥奪します。 注意一度に処理できる操作は最大50個です。この制限を超える操作は無視されます。 Endpoint: POST /v2/project/{project_id}/inventory/revoke Version: 2.0.0 Security: basicAuth ## Path parameters: - `project_id` (integer, required) プロジェクトID。 ## Request fields (application/json): - `comment` (string) 操作説明。例:「アイテムが他のプレイヤーに譲渡されました」。 - `items` (array, required) - `items.quantity` (integer, required) 取り消す必要があるこのクラスのアイテムの数。 - `items.sku` (string, required) 一意のアイテムID。SKUには、小文字と大文字のラテン英数字、ピリオド、ダッシュ、およびアンダースコアのみが含まれます。 - `platform` (string) ユーザーがプレイするパブリッシングプラットフォーム。 Enum: "playstation_network", "xbox_live", "xsolla", "pc_standalone", "nintendo_shop", "google_play", "app_store_ios", "android_standalone", "ios_standalone", "android_other", "ios_other", "pc_other" - `user` (object, required) - `user.id` (string) プラットフォーム上でユニークなユーザー識別子。 ## Response 200 fields (application/json): - `count` (integer) アイテムの取り消しに成功したユーザー数。 Example: 10 - `operations` (array) 操作の説明。 - `operations.comment` (string) 操作説明。例:「アイテムが他のプレイヤーに譲渡されました」。 Example: "Some comment for this operation" - `operations.items` (array) 本操作におけるアイテム。 - `operations.items.balance` (integer) ユーザーが所有しているこのクラスのアイテムの合計数。 Example: 1 - `operations.items.quantity` (integer) このクラスの取り消されたアイテムの数。 Example: 1 - `operations.items.sku` (string) アイテムクラス識別子。SKUには、英小文字、ピリオド、ダッシュ、およびアンダースコアのみが含まれます。 Example: "com.xsolla.item_1" - `operations.platform` (string) Enum: "playstation_network", "xbox_live", "xsolla", "pc_standalone", "nintendo_shop", "google_play", "app_store_ios", "android_standalone", "ios_standalone", "android_other", "ios_other", "pc_other" - `operations.user_id` (string) プラットフォーム上でユニークなユーザー識別子。 Example: "d.user" ## Response 404 fields (application/json): - `errorCode` (integer) エラーコード。 Example: 4001 - `errorMessage` (string) エラーメッセージ。 Example: "[0401-5004]: Could not find instance in inventory: Could not remove 10, user only has 1" - `statusCode` (integer) Example: 404