Skip to main content
DELETE
/
v1
/
carousel
/
templates
/
{templateId}
Delete a carousel template
curl --request DELETE \
  --url https://api.yalg.ai/v1/carousel/templates/{templateId} \
  --header 'x-api-key: <api-key>'
{
  "statusCode": 400,
  "message": "Validation failed",
  "error": "Bad Request",
  "code": "validation_failed"
}

Authorizations

x-api-key
string
header
default:yalg_live_your_api_key
required

YALG Developer API key. Send it in the x-api-key header from a server-side environment only.

Path Parameters

templateId
string
required

Carousel template identifier.

Example:

"018f9f46-9a0e-7afd-b13f-2f63f07aa4f2"

Response

Template deleted successfully