Experts
Delete Account
Permanently delete the expert's account and personal data.
Required by App Store guideline 5.1.1(v) — apps that support account creation must also offer in-app account deletion.
Behavior:
- Blocks if there are active chat sessions (must close first)
- Blocks if there are pending payouts (must resolve first)
- Disconnects + deletes the Stripe Express account
- Cancels any open OFFERED assignments
- Anonymizes PII fields on the Expert row (email, name, picture, linkedin, skills, schedule). The row itself is retained so that financial audit records (CreditTransaction, completed PayoutRequest) referencing this expert keep their FK integrity for tax/legal retention.
- Marks the expert as OFFLINE and clears qualification so they no longer appear in any routing pool.
- Best-effort deletes the Auth0 user so they cannot log back in.
delete/api/v1/experts/account
Request
- Base URLhttps://api.humwork.ai (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.