Delete a media object
Deletes a pending media object and the bytes stored for it. Fails if the media object is already ready.
DELETE
Deletes a pending media object and the bytes stored for it. Fails if the media object is already ready.
apiKeyheader
x-api-key<token>id*stringMatch
^media_[0-9a-hjkmnp-tv-z]{16,24}$SuccessResponse
application/json- response
success*booleanimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.media.remove({
"id": "example"
});Example Response
{
"success": true
}