Skip to main content
POST
Delete Videos
Product: Visual Search Use case: Upload videos and images, auto-index them, then search by natural language, image, or transcript phrase Host: https://api.memories.ai/serve/api/v1 Auth: Authorization: sk-mavi-... (no Bearer prefix)
Permanently delete one or more videos from your Private Video Library. Deleted videos cannot be recovered.

Prerequisites

Endpoint

POST /serve/api/v1/delete_videos Rate limit: Maximum 100 videos per request.

Request Example

Request Body

Array of video IDs (strings) — sent as a raw JSON array.

Request Parameters

[video_no]
string[]
required
Array of video identifiers to delete. Maximum 100 per request.

Response Example

Status code 200
Delete now validates ownership and is all-or-nothing. If the array contains any video_no that does not exist or does not belong to your account, the entire request is rejected and nothing is deleted — the response lists the offending video numbers. Only proceed with video numbers returned by your own List Videos.

Error Responses

Response Fields

code
string
Business status code. "0000" indicates every supplied video_no was owned by your account and deleted. If any id is unknown or not owned, the request fails (non-0000) and nothing is deleted.
msg
string
Human-readable status message. "success" on success; for failures see the Error Responses section above.
data
null
Always null on this endpoint — there is no per-video result array.
success
boolean
true when all supplied videos passed the ownership check and were deleted; false if the request was rejected (see the ownership warning above).
failed
boolean
Inverse of success.

Authorizations

Authorization
string
header
required

Body

application/json

Response

200 - application/json

Successful response

code
Example:

"0000"

msg
string
Example:

"success"

data
success
boolean
Example:

true

failed
boolean
Example:

false