AppResellerLeads
Discard lead
Changed onDeletes or disqualifies a lead (depending on type and assignment)
delete/lead/v2/leads/{leadId}
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
leadIdstring required
Lead ID
Query parameters
context'RESELLER' | 'REFERRAL' | 'DEVELOPER' | 'RESELLER_MANAGER' | 'PARTNER' | 'ANONYMOUS' | 'CHANNEL_ADMIN' required
Supported contexts
companyIdstring required
Company ID of the user who is discarding the lead
Response
Lead deleted or disqualified
Changes
- info
added the new enum value
CHANNEL_ADMINto thequeryrequest parametercontext
- info