Skip to main content
PUT
/
accounts
/
{id}
/
blocklist
Update domains blocklist for account
curl --request PUT \
  --url https://api-network.joinmassive.com/resellers/accounts/{id}/blocklist \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "domains_blocklist": [
    "example.com",
    "test.org",
    "badsite.net"
  ]
}
'
{}
For more details on how domain blocking works, including wildcard patterns and the common blocklist, see Domain Blocking.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The account ID

Body

application/json
domains_blocklist
string[]
required

Array of domain names to block. Maximum 253 characters per domain. Domains will be automatically deduplicated and sanitized.

Maximum array length: 100
Example:
["example.com", "test.org", "badsite.net"]

Response

Domains blocklist updated successfully

The response is of type object.