Docs

Delete an embed rule

Deletes one behavior rule from an embed frame.

Deletes one behavior rule from an embed frame.

DELETE
/v1/embeds/{embedId}/rules/{ruleId}

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

embedId*string

Embed UUID.

Formatuuid
ruleId*string

Rule UUID.

Formatuuid

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://api.moviie.ai/v1/embeds/497f6eca-6276-4993-bfeb-53cbbbba6f08/rules/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{
  "ruleId": "70af3071-65d9-4ec3-b3cb-5283e8d55dac"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}
{
  "error": "Resource not found",
  "code": "NOT_FOUND"
}