Skip to main content
DELETE
/
api
/
v1
/
presentations
/
{presentation_id}
/
slides
/
{slide_id}
Delete a slide from a presentation
curl --request DELETE \
  --url https://slides-api.getalai.com/api/v1/presentations/{presentation_id}/slides/{slide_id} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}
Delete a slide from a presentation. This is a synchronous operation.

Path Parameters

ParameterTypeDescription
presentation_idstringID of the presentation
slide_idstringID of the slide to delete

Response

{
  "success": true
}

Example

curl -X DELETE "https://slides-api.getalai.com/api/v1/presentations/xyz789-.../slides/slide123-..." \
  -H "Authorization: Bearer YOUR_API_KEY"

Error Responses

StatusDescription
400Slide doesn’t belong to the presentation
401Invalid or missing API key
404Presentation or slide not found
This action is permanent. Deleted slides cannot be recovered.

Authorizations

Authorization
string
header
required

Your Alai API key. Get one from your account settings at app.getalai.com

Path Parameters

presentation_id
string
required
slide_id
string
required

Response

Successful Response

success
boolean
required