Delete By Id
This API is used to delete specific feature object by Id
Request
DELETE /v1/features/story/649d3988c0f2f5aebe634933 HTTP/1.1
Host: storage-dev.api.mimiland.io
Accept: application/json
authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
mm-client-id: mml
mm-user-id: 6552e9dd1f835ac7ca4ba3ec
const myHeaders = new Headers();
myHeaders.append("Accept", "application/json");
myHeaders.append("authorization", "bearer v4.public.eyJhZC*****5xTtpdbQI");
myHeaders.append("mm-client-id", "mml");
myHeaders.append("mm-user-id", "6552e9dd1f835ac7ca4ba3ec");
const requestOptions = {
method: "DELETE",
headers: myHeaders,
redirect: "follow"
};
fetch("https://storage-dev.api.mimiland.io/v1/features/story/649d3988c0f2f5aebe634933", requestOptions)
.then((response) => response.text())
.then((result) => console.log(result))
.catch((error) => console.error(error));
Last updated