Skip to main content
POST
/
partners
/
ban
Python
from dub import Dub


with Dub(
    token="DUB_API_KEY",
) as d_client:

    res = d_client.partners.ban()

    # Handle response
    print(res)
{
  "partnerId": "<string>"
}
Partners endpoints require an Advanced plan subscription or higher.

Authorizations

Authorization
string
header
required

Body

application/json
reason
enum<string>
required
Available options:
tos_violation,
inappropriate_content,
fake_traffic,
fraud,
spam,
brand_abuse
partnerId
string | null
tenantId
string | null

Response

partnerId
string
required