curl -X DELETE "https://api.affonso.io/v1/onboarding-form" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"message": "Onboarding form deleted successfully"
}
{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "No onboarding form found for your team"
}
}
Affiliate Onboarding
Delete Onboarding Form
Permanently delete your team’s onboarding form and all related data
DELETE
/
v1
/
onboarding-form
curl -X DELETE "https://api.affonso.io/v1/onboarding-form" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"message": "Onboarding form deleted successfully"
}
{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "No onboarding form found for your team"
}
}
Permanently deletes your team’s onboarding form. All questions, affiliate responses, and completion records are removed by cascade. This action cannot be undone.
If you only want to remove individual questions, use
PATCH /v1/onboarding-form instead — soft-deleted questions preserve existing affiliate answers.
Response
boolean
Always
true for successful deletionstring
Confirmation message
curl -X DELETE "https://api.affonso.io/v1/onboarding-form" \
-H "Authorization: Bearer sk_live_your_api_key"
{
"success": true,
"message": "Onboarding form deleted successfully"
}
{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "No onboarding form found for your team"
}
}
Notes
- Required permission:
delete:program. - This deletes affiliate responses and completion records as well — exporting them beforehand is recommended if you may need them later.
Was this page helpful?
