PgBeam Docs
account

account export

Export account data (GDPR/CCPA)

Export all account data as required by GDPR and CCPA regulations. Includes your user profile, organizations, projects, databases, active sessions, and audit logs. Use --file to write the full export to a JSON file, or --json to print the full export to stdout.

Usage

pgbeam account export [flags]

Options

OptionDescriptionRequiredDefault
--file <value>Write the full export to a JSON file at this path instead of printing to stdoutNo-

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --debug) are also available on this command.

Examples

# Show a summary of your account data
pgbeam account export

# Export full data to a file
pgbeam account export --file account-export.json

# Export full data as JSON to stdout
pgbeam account export --json

Output

Without --file or --json, displays a summary showing counts of organizations, projects, databases, sessions, and audit logs. With --file, writes the full JSON export to the specified path. With --json, outputs the complete export object.

On this page