Update the authenticated user profile
curl --request PUT \
--url https://api.example.com/auth/profile \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "<string>"
}
'{
"id": 123,
"name": "<string>",
"email": "<string>",
"role": "<string>",
"createdAt": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://mintlify.com/GioTaipe/E-commerce/llms.txt
Use this file to discover all available pages before exploring further.
Authorization: Bearer <your_token>
{
"name": "Jane Doe",
"email": "jane.doe@example.com"
}
{
"name": "Jane Doe"
}
{
"id": 1,
"name": "Jane Doe",
"email": "jane.doe@example.com",
"role": "customer",
"createdAt": "2026-03-06T10:30:00.000Z"
}
{
"error": "No autorizado"
}
{
"error": "Usuario no encontrado"
}
{
"error": "Validation failed",
"details": [
"email must be a valid email"
]
}
{
"error": "El email ya está en uso"
}
role field cannot be updated through this endpointcurl --request PUT \
--url https://api.example.com/auth/profile \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "<string>"
}
'{
"id": 123,
"name": "<string>",
"email": "<string>",
"role": "<string>",
"createdAt": "<string>"
}