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


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

    res = d_client.partner_applications.reject(request={
        "partner_id": "<id>",
    })

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

Authorizations

Authorization
string
header
required

Default authentication mechanism

Body

application/json
partnerId
string
required

The ID of the partner to reject.

rejectionReason
enum<string>

The reason for rejecting the partner application. This will be shared with the partner via email.

Available options:
needsMoreDetail,
doesNotMeetRequirements,
notTheRightFit,
other
rejectionNote
string

Additional details about the rejection. This will be shared with the partner via email.

Maximum string length: 500
reapplicationTimeframe
enum<string>
default:standard

The mode for reapplying for the program. instant: The partner can reapply immediately. standard: The partner can reapply after 30 days. never: The partner can never reapply for the program. Defaults to standard if undefined.

Available options:
instant,
standard,
never
flagForFraud
boolean

Whether to flag the partner for fraud review by the Dub team. Cannot be combined with reapplicationTimeframe: instant.

flagForFraudReason
string

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

Maximum string length: 2000

Response

The rejected partner

partnerId
string
required

The ID of the rejected partner.