- Move all files from bruno-yaml/* to bruno/* - Maintains existing directory structure within categories - Updates bruno/user/auth files with OAuth2 refresh token flow - Updates bruno/user/profile files for user profile management - Adds bruno/dashboard/ directory with dashboard API tests - Preserves all existing test scenarios and OpenCollection YAML format - No functional changes - file reorganization only
34 lines
625 B
YAML
34 lines
625 B
YAML
info:
|
|
name: Update Email
|
|
type: http
|
|
seq: 2
|
|
http:
|
|
method: PUT
|
|
url: '{{base_url}}/api/auth/email'
|
|
auth: inherit
|
|
body:
|
|
type: json
|
|
|
|
docs: |-
|
|
## Update Email
|
|
|
|
Updates the authenticated user's email address.
|
|
|
|
**Method:** PUT
|
|
|
|
**Endpoint:** /api/auth/email
|
|
|
|
**Authentication:** Required
|
|
|
|
**Request Body:**
|
|
- `email` (string, required): New email address (must be valid email format)
|
|
|
|
**Response:**
|
|
- `message` (string): Success message
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 400: Invalid email format
|
|
- 401: Unauthorized
|
|
- 409: Email already taken
|