Delete an uploaded file

DELETE
https://reloop.sh/api/upload/v1/files/:fileId

Path Parameters

fileIdstringRequired

File ID

  • Minimum length: 1
const response = await fetch("https://reloop.sh/api/upload/v1/files/{fileId}", {
  method: "DELETE",
  headers: {
    "Authorization": "Bearer re_123456789",
  },
});

const data = await response.json();
{
  "message": "Contact already exists"
}

Was this page helpful?

Edit this page