Delete Generated Post
Endpoint
DELETE https://app.marketingblocks.ai/api/v1/social-sparks/delete-post-generation/{post_id}This endpoint allows you to delete a specific post generation by providing its unique identifier.
Request
Method: DELETE
Authorization: Bearer <your_api_token> (token must include social-post-generation permission)
Path Parameters
post_id (string, required) – The unique identifier of the post generation you want to delete.
Response
On success, the API returns a JSON object:
{
"message": "Your post generation has been successfully deleted.",
"status": true
}message (string) – Confirmation message of the deletion.
status (boolean) – Indicates if the deletion was successful (
true) or not (false).
Example Request
curl --location --request DELETE \
'https://app.marketingblocks.ai/api/v1/social-sparks/delete-post-generation/842c8151-8f9d-4eab-ae81-6690730b8b02' \
--header 'Authorization: Bearer <your_api_token>'Last updated