Skip to Content
FeaturesData Export & Account Deletion

Export your data and delete your account

You can download the personal data CodeStax holds about you, and you can schedule permanent deletion of your account. Both actions apply to your own account, not to the whole organization. Organization-wide actions, such as closing the organization, are under Settings → Organization → General.

Open Settings and select Delete account in the Account group. You can also go directly to /dashboard/settings?tab=delete-account.

Download your data

  1. Open Settings → Delete account.
  2. Under Download my data, click Export data.
  3. The browser downloads codestax-data-export-<date>.json, and CodeStax emails you that the export is ready.

The export is a single JSON file generated on request. It contains:

SectionContents
user_profileName, email, avatar, verification state, creation and last-login times, connected sign-in providers
organizationsEach organization you belong to, your role and when you joined
invitations_sentInvitations you sent and whether they were accepted
notification_preferencesYour email notification settings
connected_integrationsConnected source-control and other integrations, with username, scope and connection time (no tokens)
in_app_notificationsYour in-app notifications
activity_logAudit-log entries for actions you performed
assigned_issuesFindings assigned to you
commentsComments you wrote on findings
scan_activity_summaryA summary count of your scan activity
review_chat_requestsPR review chat requests and their retention status
ai_execution_eventsRecords of AI processing performed for your reviews

Every export is recorded in the organization audit log.

Delete your account

  1. Open Settings → Delete account.
  2. Under Delete my account, click Delete account.
  3. In the Delete account dialog:
    • If you sign in with a password, enter it in Confirm password. Accounts that sign in only through GitHub, GitLab, Bitbucket or SSO are not asked for one.
    • Optionally pick a Reason: Not useful for my needs, Too expensive, Switching to another tool, Privacy concerns or Other.
    • Type DELETE in capitals to confirm.
  4. Click Schedule deletion.

The account is scheduled for permanent deletion 30 days later. CodeStax emails you a confirmation with the deletion date, and the settings page shows Account deletion scheduled with the days remaining. Your account keeps working normally during the grace period.

If deletion is already scheduled, requesting it again does not restart the clock; the original date is kept.

Cancel a scheduled deletion

  1. Open Settings → Delete account.
  2. In the Account deletion scheduled banner, click Cancel deletion.

You can cancel at any time before the scheduled date. After the date passes, deletion runs automatically within minutes and can no longer be cancelled.

What deletion removes

When the grace period ends, CodeStax permanently deletes or anonymizes your data and sends a final confirmation email.

DataWhat happens
Your user record and sign-in detailsDeleted
Connected integrations and their OAuth tokensDeleted
In-app notifications, notification settings, usage logs, AI feedbackDeleted
Invitations you sent or receivedDeleted
Your organization membershipsRemoved
Audit-log entries you appear inKept for the organization, with your identity, IP address, user agent and details removed and the actor shown as [deleted user]
Comments you wrote on findingsKept, attributed to [deleted user]
Findings, triage decisions and scheduled scans assigned to or created by youKept, with the assignment or owner cleared
Organizations where you are the only ownerDeleted with their subscription, repositories, scans and findings

If you are the only owner of an organization, deleting your account deletes that organization and all of its repositories and scan history. To keep the organization, another member must hold the owner role before the grace period ends. The dashboard does not offer an ownership-transfer action; contact support@codestax.co, then cancel and reschedule your deletion if you need more time.

Use the API

These endpoints act on the signed-in user. They require a signed-in session.

MethodPathPurpose
POST/api/gdpr/exportGenerate the JSON export; the file contents are in the response’s data field
POST/api/gdpr/deleteSchedule deletion; body {"password": "<password>", "reason": "<reason>"} (password required for password accounts)
POST/api/gdpr/cancel-deletionCancel a pending deletion
GET/api/gdpr/deletion-statusReturn none, or scheduled with deletion_date and days_remaining

POST /api/gdpr/delete returns 400 when a password account omits the password and 403 when the password is wrong. POST /api/gdpr/cancel-deletion returns 400 when no deletion is pending.