curl -X PUT https://api.falconalert.com/users \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Doe",
"email": "jane.doe@example.com"
}'
{
"id": "1",
"email": "jane.doe@example.com",
"name": "Jane Doe",
"username": "janedoe_123",
"password": "55e1ebd3ebe4f1b46a5ccc9866d",
"salt": "432423",
"image_path": "profile-pictures/default.jpg",
"role_id": 1,
"created_at": "2025-09-25T12:14:44.000Z",
"updated_at": "2025-10-24T02:30:15.000Z"
}
Update the authenticated user’s profile information
curl -X PUT https://api.falconalert.com/users \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Doe",
"email": "jane.doe@example.com"
}'
{
"id": "1",
"email": "jane.doe@example.com",
"name": "Jane Doe",
"username": "janedoe_123",
"password": "55e1ebd3ebe4f1b46a5ccc9866d",
"salt": "432423",
"image_path": "profile-pictures/default.jpg",
"role_id": 1,
"created_at": "2025-09-25T12:14:44.000Z",
"updated_at": "2025-10-24T02:30:15.000Z"
}
Documentation Index
Fetch the complete documentation index at: https://mintlify.com/4rt21/backend-proyecto/llms.txt
Use this file to discover all available pages before exploring further.
Bearer <your_access_token>user@example.comJohn Doejohndoe/path/to/image.jpgcurl -X PUT https://api.falconalert.com/users \
-H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Doe",
"email": "jane.doe@example.com"
}'
{
"id": "1",
"email": "jane.doe@example.com",
"name": "Jane Doe",
"username": "janedoe_123",
"password": "55e1ebd3ebe4f1b46a5ccc9866d",
"salt": "432423",
"image_path": "profile-pictures/default.jpg",
"role_id": 1,
"created_at": "2025-09-25T12:14:44.000Z",
"updated_at": "2025-10-24T02:30:15.000Z"
}
| Status Code | Description |
|---|---|
| 400 | Bad Request - No fields provided to update |
| 401 | Unauthorized - Invalid or missing JWT token |
| 409 | Conflict - Email already exists for another user |