Settings

Enable/Disable DRM

Changed on

Enable or disable DRM protection for media. DRM Protection helps to protect video content from being copied or downloaded. After you enable it, DRM Protection will be applied to uploads after that date. DRM Protection may limit the ability of fans using older devices to view this video content.

patch/api/{account}/settings/drm

Request

  • Base URL
    https://app.onlyfansapi.com
  • URL
    https://app.onlyfansapi.com/api/{account}/settings/drm
  • Auth
    HTTP bearer

Request body

enabledboolean required

Whether DRM protection should be enabled.

Example request

{
  "enabled": true
}

Response

Success

Example response

{
  "data": {
    "init": {
      "upload": {
        "geoUploadArgs": {
          "preset": "of_drm",
          "protected_preset": "of_drm",
          "preset_public": "of_public",
          "preset_png": "of_png",
          "isDelay": true,
          "needThumbs": true
        }
      }
    },
    "success": true
  },
  "_meta": {
    "_credits": {
      "used": 1,
      "balance": 999999969,
      "note": "Always"
    },
    "_cache": {
      "is_cached": false,
      "note": "Cache disabled for this endpoint"
    },
    "_rate_limits": {
      "limit_minute": 10000000,
      "limit_day": 50000,
      "remaining_minute": 9999998,
      "remaining_day": 49970
    }
  }
}

Changes