Settings API
/settings/* endpoints are user-account APIs, not workspace APIs.
Authentication model
- Session auth only (API keys are not supported).
- Intended for authenticated dashboard users.
Endpoint matrix
| Method | Path | Purpose |
|---|---|---|
GET | /settings/profile | Read user profile (id, email, name, image, verification state, default workspace) |
PUT | /settings/profile | Update name and/or image |
POST | /settings/request-email-change | Start secure email-change workflow |
PUT | /settings/default-workspace | Set dashboard default workspace |
Email-change security flow
POST /settings/request-email-change uses hybrid checks:
- credential users must provide current password
- social-only users can proceed without password
- verification email is sent to the new address
- email changes only after verification is completed
400 PASSWORD_REQUIRED401 INVALID_PASSWORD409 EMAIL_TAKEN
Default workspace behavior
PUT /settings/default-workspace validates that:
- target workspace exists
- user is still an active member
/user-guides/manual/workspace/settings-and-preferences/user-guides/manual/workspace/security-and-compliance/user-guides/manual/workspace/workspaces-and-access

