Skip to main content

Delete Media

Permanently remove an image or video from your SchedPilot library and the server.

Endpoint

DELETE https://api.schedpilot.com/developers/v1/media/delete

Parameters (Query String)

ParameterTypeRequiredDescription
media_idstringYesThe ID returned during upload (e.g., image-123 or video-45).

Example Request

curl -X DELETE "[https://api.schedpilot.com/developers/v1/media/delete?media_id=video-1024](https://api.schedpilot.com/developers/v1/media/delete?media_id=video-1024)" \
-H "X-API-KEY: smm_your_secret_key"