Skip to main content

Documentation Index

Fetch the complete documentation index at: https://slidesgpt.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

The SlidesGPT API allows you to delete a generated presentation permanently. Once deleted, the presentation cannot be recovered.

Request Example

Send a DELETE request to:
https://api.slidesgpt.com/v1/presentations/{id}

Sample Code (cURL)

curl -X DELETE "https://api.slidesgpt.com/v1/presentations/12345" \
     -H "Authorization: Bearer YOUR_API_KEY"

Sample Code (JavaScript)

async function deletePresentation(id) {
  try {
    const response = await fetch(`${API_BASE_URL}/presentations/${id}`, {
      method: "DELETE",
      headers: { Authorization: `Bearer ${token}` },
    });
    if (response.ok) console.log("Presentation deleted successfully.");
    else console.error("Failed to delete presentation.");
  } catch (err) {
    console.error(err);
  }
}
Note: You must include your API key in the Authorization header. If you don’t have one, follow the steps in the Authentication Guide to get your API key.
Use this API call carefully, as deletions are irreversible.