---
title: "Enable/Disable DRM"
method: PATCH
path: "/api/{account}/settings/drm"
tags: ["Settings"]
---

# Enable/Disable DRM

`PATCH /api/{account}/settings/drm`

## Request

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

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.

## Request body

- object
  - `enabled` boolean, required: Whether DRM protection should be enabled.

## Response `200`

Success

- object
  - `data` object
    - `init` object
      - `upload` object
        - `geoUploadArgs` object
          - `preset` string
          - `protected_preset` string
          - `preset_public` string
          - `preset_png` string
          - `isDelay` boolean
          - `needThumbs` boolean
    - `success` boolean
  - `_meta` object
    - `_credits` object
      - `used` integer
      - `balance` integer
      - `note` string
    - `_cache` object
      - `is_cached` boolean
      - `note` string
    - `_rate_limits` object
      - `limit_minute` integer
      - `limit_day` integer
      - `remaining_minute` integer
      - `remaining_day` integer

## Changes

- **2026-10-17** `b3968f1bc1f0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/onlyfansapi/apis/onlyfans-api/changes/api/:account/settings/drm/patch.md)

---

[API](https://skmtc.dev/onlyfansapi/apis/onlyfans-api.md) - [All operations](https://skmtc.dev/onlyfansapi/apis/onlyfans-api/llms.txt) - [OpenAPI document](https://skmtc.dev/onlyfansapi/apis/onlyfans-api/revisions/122c36386896?raw)
