Discard a draft VOD. The processed content blob is not deleted (it may be referenced elsewhere). Only the draft record is removed.
POST
/xrpc/place.stream.vod.deleteDraft
const url = 'https://example.com/xrpc/place.stream.vod.deleteDraft';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"uri":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/xrpc/place.stream.vod.deleteDraft \ --header 'Content-Type: application/json' \ --data '{ "uri": "example" }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
uri
required
The ats:// URI of the draft to discard.
string
Example generated
{ "uri": "example"}Responses
Section titled “Responses”Success
Media typeapplication/json
object
Example generated
{}Bad Request
Media typeapplication/json
object
error
required
One of:
string
message
required
string
Example
{ "error": "NotFound"}