test(bruno): update API collections for consolidated endpoints
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.
This commit is contained in:
@@ -8,7 +8,14 @@ http:
|
||||
auth: inherit
|
||||
body:
|
||||
type: json
|
||||
jsonBody: "{\n \"first_name\": \"Updated\",\n \"last_name\": \"Name\""
|
||||
jsonBody: |-
|
||||
{
|
||||
"username": "updateduser",
|
||||
"email": "updated@example.com",
|
||||
"first_name": "Updated",
|
||||
"last_name": "User",
|
||||
"theme": "dracula"
|
||||
}
|
||||
|
||||
docs: |-
|
||||
## Update User Profile
|
||||
@@ -22,8 +29,11 @@ docs: |-
|
||||
**Authentication:** Required (Bearer token)
|
||||
|
||||
**Request Body:**
|
||||
- `username` (string, optional): New username (must be unique)
|
||||
- `email` (string, optional): New email address (must be unique)
|
||||
- `first_name` (string, optional): First name
|
||||
- `last_name` (string, optional): Last name
|
||||
- `theme` (string, optional): Theme preference
|
||||
|
||||
**Response:**
|
||||
- `message` (string): Success message
|
||||
@@ -32,3 +42,4 @@ docs: |-
|
||||
- 200: Success
|
||||
- 400: Invalid request
|
||||
- 401: Unauthorized
|
||||
- 409: Username or email already taken
|
||||
|
||||
Reference in New Issue
Block a user