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>"
}

Documentation Index

Fetch the complete documentation index at: https://dub.co/llms.txt

Use this file to discover all available pages before exploring further.

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
allowImmediateReapply
boolean
default:false

When true, pending enrollment is removed so the partner can submit a new application immediately.

Response

The rejected partner

partnerId
string
required

The ID of the rejected partner.