Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request DELETE \ --url https://api.yalg.ai/v1/posts/{id}/carousel \ --header 'x-api-key: <api-key>'
{ "id": "123e4567-e89b-12d3-a456-426614174000", "content": "Post content...", "imageUrl": "/uploads/images/1640123456789-example.jpg", "videoUrl": null, "carouselUrl": null, "carouselTitle": null, "authorId": "987fcdeb-51a2-43d7-8f9e-123456789abc", "createdAt": "2024-01-15T10:30:00Z", "updatedAt": "2024-01-15T10:35:00Z" }
Remove the carousel PDF from an existing post and delete the file from disk
YALG Developer API key. Send it in the x-api-key header from a server-side environment only.
x-api-key
UUID of the post
"123e4567-e89b-12d3-a456-426614174000"
Carousel deleted successfully