Skip to main content

Reset Profile Picture

PUT /reset_profile_picture

Description

Resets the authenticated user's profile picture back to the default DayKeeper profile image.

Request Parameters

Requires Authentication: true

Usage Example

await axios.put(
"https://api.daykeeper.app/reset_profile_picture",
{},
{
headers: {
Authorization: `Bearer ${accessToken}`,
},
}
)

Success Response

{
"message": "johndoe's profile picture reseted successfully"
}

Error Response

CodeDescription
400Profile picture is already the default
401Missing or invalid access token
500Server error