Delete asset from player's inventory
DELETE
https://api.lootlocker.io/admin/game/{{game_id}}/player/{{player_id}}/inventory/{{item_id}}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request DELETE 'https://api.lootlocker.io/admin/game//player/{{player_id}}/inventory/{{item_id}}' \
--header 'x-auth-token: '
Response Response Example
{
"success": true,
"inventory": [
{
"id": 1047,
"player_id": 6111,
"asset_id": 28100,
"game_id": 2824,
"asset_variation_id": 24020,
"asset_rental_option_id": null,
"rented_item_id": null,
"is_development": 1,
"reserved": 0,
"source": "grant_support",
"character_id": null,
"asset_ulid": null,
"created_at": "2023-11-20 12:39:04",
"updated_at": "2023-11-20 12:39:04",
"variation_name": "Default",
"refundable": false,
"is_rented": false,
"rental_expires_at": null,
"rental_expired_at": null
},
{
"id": 809,
"player_id": 6111,
"asset_id": 28112,
"game_id": 2824,
"asset_variation_id": 24032,
"asset_rental_option_id": null,
"rented_item_id": null,
"is_development": 1,
"reserved": 1,
"source": "grant_default_loadout",
"character_id": null,
"asset_ulid": null,
"created_at": "2023-07-18 16:32:09",
"updated_at": "2023-07-06 12:39:57",
"variation_name": "Default",
"refundable": false,
"is_rented": false,
"rental_expires_at": null,
"rental_expired_at": null
},
{
"id": 808,
"player_id": 6111,
"asset_id": 28102,
"game_id": 2824,
"asset_variation_id": 24022,
"asset_rental_option_id": null,
"rented_item_id": null,
"is_development": 1,
"reserved": 1,
"source": "grant_default_loadout",
"character_id": null,
"asset_ulid": null,
"created_at": "2023-07-18 16:32:09",
"updated_at": "2023-07-06 12:39:57",
"variation_name": "Default",
"refundable": false,
"is_rented": false,
"rental_expires_at": null,
"rental_expired_at": null
}
]
}
Request
Header Params
x-auth-token
stringÂ
required
Example:
{{admin_auth_token}}
Responses
Modified at 2024-01-19 12:21:04