Delete Items
This API is designed to delete an existing user item from the game. The endpoint expects the item ID as input and will delete the corresponding item from the database.
DELETE /v1/inventory/items?itemIds[]=6544e3c5d146b8fb4bab1862 HTTP/1.1
Host: invent-dev.api.mimiland.io
mm-client-id: mml
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
mm-user-id: 64edd6c4f8969bbd526d3b8bconst myHeaders = new Headers();
myHeaders.append("mm-client-id", "mml");
myHeaders.append("Authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
myHeaders.append("mm-user-id", "64edd6c4f8969bbd526d3b8b");
const requestOptions = {
method: "DELETE",
headers: myHeaders,
redirect: "follow"
};
fetch("https://invent-dev.api.mimiland.io/v1/inventory/items?itemIds[]=6544e3c5d146b8fb4bab1862", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));Key
Type
Description
Last updated