Docs

Delete a video CTA

Deletes a CTA from a video. Requires the `videos:write` scope.

Deletes a CTA from a video. Requires the videos:write scope.

DELETE
/v1/videos/{id}/ctas/{ctaId}

Authorization

BearerAuth
AuthorizationBearer <token>

Pass the raw API key as a Bearer token (Authorization: Bearer <key>). Publishable keys start with mvi_pub_ (playback-scoped). Other prefixes denote private/admin keys for general REST routes. GET /v1/embeds/{embedId}/playback accepts publishable keys only.

In: header

Path Parameters

id*string

Video identifier.

Formatuuid
ctaId*string

CTA identifier.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X DELETE "https://api.moviie.ai/v1/videos/497f6eca-6276-4993-bfeb-53cbbbba6f08/ctas/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "ok": true
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}