status is set to pending_deletion and a hard deletion is scheduled 30 days from now.teams array is updated accordingly. A member's billingAccount is cleared when nostatus = pending_deletion → 409 resource_conflict.invoices, payments, or receipts → 400 business_rule_violation.completed = true) among:stripe, mercadopago, paypal, openpay, conekta, clip, bank, shopify, whmcs, hilos400 business_rule_violation.team parameter.curl --location --request DELETE 'https://api.gigstack.io/v2/teams/team_1234567890?team' \
--header 'Authorization: <api-key>'{
"message": "Team scheduled for deletion",
"data": {
"id": "team_1234567890",
"status": "pending_deletion",
"scheduled_deletion": {
"date": 1779984000000,
"flagged_at": 1777392000000,
"flagged_by": "user_abc123"
}
}
}