1. Profile
plantera-api
Plantera API
  • Plantera API
  • Plant Analyzer
  • Plantera API V2
  • Auth
    • Register
      POST
    • Login
      POST
    • Forgot password
      POST
    • Verify OTP
      POST
    • Reset password
      POST
    • Verify OTP
      POST
    • Logout
      POST
    • Refresh Token
      POST
  • Plants
    • List Plants
      GET
    • Get Plant By Id
      GET
  • Smart Diagnostics
    • Run AI disease diagnostics
      POST
  • My Plants
    • Care
      • Fertilize Plant
      • Water Plant
      • Mark care task as complete
      • Get Upcoming Care Tasks
      • Get Care Calendar
      • Get care habit logs
      • Get care events
    • Identification
      • Identify plant from image
      • Confirm plant identification
    • Diagnosis
      • Diagnose MyPlant
      • Get diagnosis history
    • Settings
      • Update plant image
    • Retrieve user's garden plants
      GET
    • Add plant to garden
      POST
    • Remove plant from garden
      DELETE
    • Update care schedule
      PATCH
  • Profile
    • Update Profile
      PATCH
    • Update Password
      PATCH
    • Update notification preferences
      PATCH
    • Retrieve notification preferences
      GET
    • Get Profile
      GET
    • Remove Push Token
      DELETE
    • Save Push Token
      POST
  • Plants
    • Diagnose Plant
    • Classify Plant
  • Diseases
    • List Diseases
    • Get Disease
  • Diagnostics
    • Get Diagnostic Record
    • List Diagnostic Records
  • Notifications
    • List Notifications
    • Mark Notification Read
  • Posts
    • Comments
      • Create Comment
      • List Comments
      • Delete Comment
    • Likes
      • Toggle Like
      • Get Likes
    • List Posts
    • Create Post
    • Get Post
    • Update Post
    • Delete Post
  • Admin
    • Article
      • Create Article
      • List Articles
      • Get Article
      • Update Article
      • Delete Article
  • Schemas
    • DTOs
      • Auth
        • Register
          • RegisterRequest
          • RegisterResponse
        • Login
          • LoginRequest
          • LoginResponse
        • Forgot password
          • ForgotPasswordRequest
          • ForgotPasswordResponse
        • Verify otp
          • VerifyOtpRequest
          • VerifyOtpResponse
        • Reset password
          • ResetPasswordResponse
          • ResetPasswordRequest
        • AuthErrorCode
      • Plant
        • PlantListResponse
        • PlantResponse
        • PlantErrorCode
      • Diagnostic
        • DiseaseResponse
      • My Plants
        • MyPlantsListResponse
        • AddToMyPlantsRequest
        • AddToMyPlantsResponse
        • RemoveFromMyPlantsResponse
        • UpdateScheduleRequest
        • UpdateScheduleResponse
      • Profile
        • UpdateProfileRequest
        • UpdateProfileResponse
        • ChangePasswordRequest
        • ChangePasswordResponse
        • UpdateNotificationPreferencesRequest
        • UpdateNotificationPreferencesResponse
        • GetNotificationPreferencesResponse
      • Common
        • PaginationMeta
    • Envelopes
      • Errors
        • GlobalErrorCode
        • ErrorResponse
      • Success
      • ConflictError
      • ValidationError
    • Models
      • User
        • Model
        • Props
          • FirstName
          • LastName
          • UserName
          • Email
          • Password
      • User
      • Plant
      • Disease
      • MyPlant
      • NotificationPreferences
    • Errors
      • InternalServerError
      • RateLimitError
      • NotFoundError
      • ForbiddenError
      • MethodNotAllowedError
      • BadRequestError
      • UnsupportedMediaTypeError
      • UnauthorizedError
    • Auth
      • dto
        • LogoutResponse
        • RefreshTokenRequest
        • AuthResponse
        • RefreshTokenResponse
      • Errors
        • LoginValidationError
        • ForgotPasswordValidationError
        • RefreshTokenValidationError
        • ResetPasswordValidationError
        • VerifyOtpValidationError
        • LoginUnauthorizedError
        • VerifyOtpBadRequestError
        • RefreshUnauthorizedError
        • ResetPasswordBadRequestError
        • ResetPasswordNotFoundError
        • RegisterValidationError
        • RegisterConflictEmailError
        • RegisterConflictUsernameError
        • LoginConflictError
    • Plants
      • PlantNotFoundError
      • PlantMissingImageError
      • PlantInvalidFileTypeError
      • PlantClassifyResponse
      • PlantListQuery
      • PlantDiagnoseResponse
      • PlantFileSizeExceededError
      • PlantEmptyImageFileError
    • Diseases
      • DiseaseListQuery
      • DiseaseListResponse
      • DiseaseNotFoundError
    • Diagnostics
      • DiagnosticNotFoundError
      • DiagnosticRecord
      • DiagnosticListResponse
      • DiagnosticListQueryDto
      • DiagnosticResponse
    • MyPlants
      • MyPlantListQueryDto
      • CalendarCareQueryDto
      • UpdateScheduleDto
      • MyPlantResponse
      • UpcomingCareResponse
      • MyPlantNotFoundError
      • MyPlantAlreadyExistsError
      • DeleteMyPlantResponse
      • UpdateScheduleValidationError
      • CareLog
      • CareLogListResponse
      • CareEvent
      • CareEventListResponse
      • IdentifyPlantResponse
      • IdentifyPlantSuggestionsResponse
      • ConfirmIdentifyResponse
      • AddToMyPlantsDto
      • CalendarCareResponse
      • AddToMyPlantsValidationError
    • Profile
      • ChangePasswordRequestDto
      • UpdateProfileRequestDto
      • EmailTakenError
      • PasswordIncorrectError
      • PasswordFailedError
      • UserNotFoundError
      • SendEmailOtpDto
      • VerifyEmailOtpDto
      • EmailOtpSentResponse
      • EmailVerifiedResponse
      • RemovePushTokenResponse
      • SavePushTokenResponse
      • Profile
      • GetProfileResponse
      • SavePushTokenDto
      • UpdateNotificationPreferencesRequestDto
      • PushTokenInvalidError
      • ProfileUpdateFailedError
    • Notifications
      • Notification
      • NotificationListResponse
      • NotificationNotFoundError
      • MarkNotificationReadResponse
    • Articles
      • Article
      • CreateArticleDto
      • UpdateArticleDto
      • ArticleListResponse
      • ArticleResponse
      • ArticleNotFoundError
      • ArticleForbiddenError
      • ArticleValidationError
      • ArticleDeleteResponse
    • Community
      • CommunityPost
      • CreateCommunityDto
      • UpdateCommunityDto
      • CommunityListResponse
      • CommunityResponse
      • CommunityNotFoundError
      • CommunityForbiddenError
      • CommunityValidationError
      • Comment
      • CommentResponse
      • CommentListResponse
      • LikeResponse
      • CreateCommentDto
      • CommunityDeleteResponse
    • User1
Github
  1. Profile

Update Password

Developing
PATCH
/api/v1/profile/password
Maintainer:Not configured
Changes the authenticated user's password (requires providing the current password for security verification)

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Example
{
    "currentPassword": "string",
    "newPassword": "stringst"
}

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "success": true,
    "message": "string",
    "timestamp": "2019-08-24T14:15:22.123Z"
}
🟢200InternalServerError
🟠429TooManyRequests
🟠400BadRequest
🟢200MethodNotAllowed
🟢200UnsupportedMediaType
Modified at 2026-06-24 21:01:16
Previous
Update Profile
Next
Update notification preferences
Built with