DELETE https://api.actonsoftware.com/api/1/media/{id}
This endpoint allows you to delete a media object from the account.
Customers wanting to access our API via our gateway in the EU can use this link:
DELETE https://api-eu.actonsoftware.com/api/1/media/{id}
Parameters
Name | Parameter Type |
Allow Multiple |
Required/ Optional |
Data Type | Description |
---|---|---|---|---|---|
Authorization: | Header | False | Required | String | Insert your generated access token. ("Bearer {access token}") |
id | Path | False | Required | String | The id of the media object you want to delete. |
Response
{ "status": "success", "message": "File deleted" }
Code Examples
cURL
curl -X DELETE https://api.actonsoftware.com/api/1/media/f-2e148bf1-7bb3-4b2b-af0e-4f2f6dd2faaa -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"