Add collections for Delete User, Reset User Password, and Update User endpoints. Remove obsolete collections for individual profile update operations. Update Update Profile collection to reflect new consolidated API structure.
37 lines
636 B
YAML
37 lines
636 B
YAML
info:
|
|
name: Update Theme
|
|
type: http
|
|
seq: 5
|
|
http:
|
|
method: PUT
|
|
url: '{{base_url}}/api/auth/theme'
|
|
auth: inherit
|
|
body:
|
|
type: json
|
|
jsonBody: |-
|
|
{
|
|
"theme": "dracula"
|
|
}
|
|
|
|
docs: |-
|
|
## Update Theme
|
|
|
|
Fast theme switching for the application UI.
|
|
|
|
**Method:** PUT
|
|
|
|
**Endpoint:** /api/auth/theme
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Request Body:**
|
|
- `theme` (string, required): Theme name
|
|
|
|
**Response:**
|
|
- `message` (string): Success message
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 400: Invalid theme
|
|
- 401: Unauthorized
|