OnlySocial
  1. Media
OnlySocial
  • 🐶 OnlySocial API Walk through
  • Only Social
    • Accounts
      • List Accounts
      • Get an account
    • Media
      • List media files
        GET
      • Get a media file
        GET
      • Upload a media file
        POST
      • Delete a media file
        DELETE
    • Tags
      • List Tags
      • Get a tag
      • Create a tag
      • Delete a tag
      • Update a tag
    • Posts
      • List posts
      • Get a post
      • Create a post
      • Delete a post
      • Delete multiple post
      • Schedule a post
      • Add a post to Queue
      • Update a post
  1. Media

Delete a media file

DELETE
https://app.onlysocial.io/os/api/{workspaceUuid}/media

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
workspaceUuid
string 
required
Example:
<workspaceUuid>
Query Params
items
array[string]
required
Example:
["1,2"]

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://app.onlysocial.io/os/api/<workspaceUuid>/media?items=1,2'

Responses

🟢200Success
application/json
Body
object {0}
Example
{
    "success": true
}
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🟠422Parameter Error
Modified at 2024-06-28 12:07:38
Previous
Upload a media file
Next
List Tags
Built with