---
title: "Set auto-unblock threshold"
method: POST
path: "/account/blocked-account/set-autounblock-threshold"
tags: ["Blocked Accounts"]
---

# Set auto-unblock threshold

`POST /account/blocked-account/set-autounblock-threshold`

## Request

- Base URL: `https://earthnode-dev.vopay.com/api/v2`
- URL: `https://earthnode-dev.vopay.com/api/v2/account/blocked-account/set-autounblock-threshold`
- Auth: none declared

Sets the AutoUnblockThreshold on a sub-account's blocked account settings. When the sub-account's balance reaches this threshold, it will be automatically unblocked. Pass an empty value to clear the threshold. Requires the ManageBlockedAccounts permission.

## Request body `application/x-www-form-urlencoded`

- object
  - `AccountID` string, required: Your account ID
  - `Key` string, required: API key for the account
  - `Signature` string, required: Hashed signature for the request
  - `VopayAccountID` string, required: The VoPay sub-account ID to configure. Must belong to the authenticated account.
  - `AutoUnblockThreshold` number, float: The balance threshold at which the sub-account will be automatically unblocked. Pass an empty value to clear the threshold.

## Response `200`

- object
  - `Success` boolean: True if the request was successful, false if it failed
  - `ErrorMessage` string: Contains a description of the error if the request failed

---

[API](https://skmtc.dev/vopay/apis/blocked-accounts.md) - [All operations](https://skmtc.dev/vopay/apis/blocked-accounts/llms.txt) - [OpenAPI document](https://skmtc.dev/vopay/apis/blocked-accounts/revisions/bac5c74fd595?raw)
