Delete a Media Object

DELETE https://restapi.actonsoftware.com/api/1/media/{id}

This endpoint allows you to delete media object from the account.

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 -X DELETE https://restapi.actonsoftware.com/api/1/media/f-2e148bf1-7bb3-4b2b-af0e-4f2f6dd2faaa -H "Authorization: Bearer 12345678-9abc-defg-hijk-lmnopqrs"