Account management

Manage your profile, change your password, export your data, or delete your account.

View your profile

curl https://api.fold.run/account \
  -H "Authorization: Bearer YOUR_TOKEN"

Returns your user ID, email, name, role, organization, avatar URL, email verification status, OAuth provider (if any), MFA status, and creation date.

Update your name

curl -X PUT https://api.fold.run/account \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Alice Chen" }'

Only the name field can be updated. To change your email, contact support.

Change your password

curl -X POST https://api.fold.run/account/change-password \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "current_password": "old-password-here",
    "new_password": "new-secure-password-123"
  }'

Password requirements:

  • At least 12 characters
  • At least one uppercase letter
  • At least one lowercase letter
  • At least one number

Changing your password invalidates all other active sessions, so you will need to log in again on other devices.

Export your data

Download a JSON export of all your account data:

curl https://api.fold.run/account/export \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -o account-export.json

The export includes your profile, organization configuration, team members, audit logs, API keys, billing information, and organization data (functions, activations, secrets metadata, schedules, and hooks).

Delete your account

Account deletion is a two-step process with a 30-day grace period.

Request deletion

curl -X DELETE https://api.fold.run/account \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{ "password": "your-password" }'

This marks your account for deletion but does not remove it immediately. You will receive a confirmation email with the scheduled purge date. OAuth users do not need to provide a password.

You cannot delete your account if you are the only admin on an organization with other members. Transfer ownership first.

Cancel deletion

During the 30-day grace period, restore your account:

curl -X POST https://api.fold.run/account/restore \
  -H "Authorization: Bearer YOUR_TOKEN"

After the grace period, your account and all associated data are permanently removed.

Dashboard

Manage your account from the dashboard at app.fold.run/console. Profile settings are available from the sidebar user menu.