Skip to main content
POST
Ban a partner

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
reason
enum<string>
required

The reason for banning the partner.

Available options:
tos_violation,
inappropriate_content,
fake_traffic,
fraud,
spam,
brand_abuse
partnerId
string | null

The ID of the partner to create a link for. Will take precedence over tenantId if provided.

tenantId
string | null

The ID of the partner in your system. If both partnerId and tenantId are not provided, an error will be thrown.

flagForFraud
boolean

Whether to flag the partner for fraud review by the Dub team.

flagForFraudReason
string

The reason for flagging the partner for fraud. Required when flagForFraud is true.

Maximum string length: 2000

Response

The banned partner

partnerId
string
required

The ID of the banned partner.