跳到正文
GrowSocmed文档Social media command center

Delete a file

Delete a file (not while a scheduled post uses it)

DELETE
/media/{id}

Delete a file (not while a scheduled post uses it)

Authorization

apiKey
headerAuthorizationBearer <token>

API key from Developer → API keys (gs_…). An unbound key takes the workspace from the X-Workspace header.

Path Parameters

id*string
Formatuuid

Response Body

OK

application/json
  1. response
deleted*number
Example Request
curl -X DELETE 'https://socmed.growpaces.com/api/v1/media/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response200
{  "deleted": 0}