Delete a file
DELETE
http://localhost:4000/api/v1 /media/{id} Answers 409 while a post or a running series uses the file; force: true deletes it anyway and those posts publish without it.
Parameters
idstring
path
required
Request body
application/json
forceboolean
{
"force": true
}Code samples
cURL
curl -X DELETE "http://localhost:4000/api/v1/media/{id}" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"force":true}'TypeScript
Python
Go
PHP
Ruby
Java
Responses
200 OK
Example
{}Option 1
{}Option 2
{}Updated