Skip to main content
DELETE
/
v2
/
vault-plus
/
media
/
:mediaId
Delete a stored media item
curl --request DELETE \
  --url https://api.ofauth.com/v2/vault-plus/media/:mediaId \
  --header 'apiKey: <api-key>' \
  --header 'x-connection-id: <x-connection-id>'
{
  "success": true,
  "mediaId": "4492994399",
  "freedBytes": 1056000
}

Authorizations

apiKey
string
header
required

Your OFAuth API key for authenticating requests.

Headers

x-connection-id
string
required

Connection ID whose Vault+ cache should be read or modified.

Minimum string length: 1
Example:

"conn_v5bsqkzsjfk8cgr7hqbbw09t"

Path Parameters

mediaId
string
required

Raw OnlyFans media ID to delete.

Example:

"4492994399"

Response

The media item and its cached variants were deleted.

Single media delete response.

success
boolean
required

Whether the delete request removed at least one cached variant.

Example:

true

mediaId
string
required

Raw OnlyFans media ID requested for deletion.

Example:

"4492994399"

freedBytes
number
required

Total bytes freed across all deleted variants for this media item.

Example:

1056000