OnlyFans API
Media vault

Delete Vault Media

Delete one or multiple media from your vault.

DELETE
/api/{account}/media/vault/delete-media
AuthorizationBearer <token>

Get your API Key from OnlyFansAPI Console - https://app.onlyfansapi.com/api-keys

In: header

Path Parameters

accountstring

The Account ID

mediaIdsarray<string>

Array of media IDs to delete.

Response Body

curl -X DELETE "https://app.onlyfansapi.com/api/string/media/vault/delete-media" \
  -H "Content-Type: application/json" \
  -d '{
    "mediaIds": [
      1234567890
    ]
  }'
{
  "data": {
    "success": true
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 981,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 1000,
      "limit_day": 50000,
      "remaining_minute": 996,
      "remaining_day": 49926
    }
  }
}