Skip to main content
Version: v1.0

Delete Videos

To free up cloud storage or remove unused videos from the MAVI database, developers can call this API to delete all raw and derived data associated with specified videoNos in the request. Once the API is successfully completed, no data related to deleted videos will be retained.

Host URL

DELETE /api/serve/video/delete

  • Rate limit: max 500 videos each call.

Request Example

import requests

headers = {"Authorization":"<your access token>" } # access token
data = ["<list of videoNos>"]
response = requests.delete(
"https://mavi-backend.memories.ai/api/serve/video/delete",
headers=headers,
json=data
)

print(response.json())

Request Body

[
"string"
]

Request Parameters

NameLocationTypeRequiredDescription
AuthorizationheaderstringYesAuthorization token
bodybodyobjectNonone
» videoNosbody[string]Yeslist of video numbers

Response Example

Status code 200

{
"code": "string",
"msg": "string"
}

Response Result

Status codeStatus code msgDescriptionData
200OKnoneInline

Response Structure

Status code 200

NameTypeRequiredRestrictionDescription
codestringtruenoneresponse code
msgstringtruenonemessage with response code