v8

latestOpenAPI 3.0.3raw.githubusercontent.com2026-05-2526602.8 MB
Settings

Update Blocked Countries

Updates the countries blocked from viewing the account.

put/api/{account}/settings/blocked-countries

Request body

blockedCountriesstring[] required

List of all ISO 3166-1 alpha-2 country codes to block including existing ones. If you want to unblock all countries, set this to an empty array or null.

blockedStatesstring[]

Blocked states payload forwarded to OnlyFans. Defaults to an empty array.

Example request

{
  "blockedCountries": [
    "RU"
  ],
  "blockedStates": []
}

Response

Success

Example response

{
  "data": {
    "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
    }
  }
}