Remove Story
Use for deleting a story by id
Request
DELETE /v1/stories/658399da99c65e417fe20a73 HTTP/1.1
Host: story.api.mimiland.io
Content-Type: application/json
mm-client-id: mml
mm-user-id: 65646591714177dcf46462dd
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
const myHeaders = new Headers();
myHeaders.append("Content-Type", "application/json");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("mm-user-id", "65646591714177dcf46462dd");
myHeaders.append("Authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
const raw = "";
const requestOptions = {
method: "DELETE",
headers: myHeaders,
body: raw,
redirect: "follow"
};
fetch("https://story.api.mimiland.io/v1/stories/658399da99c65e417fe20a73", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Last updated