---
title: "Update expired password"
method: PUT
path: "/login/update-expired"
tags: ["Login"]
---

# Update expired password

`PUT /login/update-expired`

## Request

- Base URL: `https://api.tetrascience.com`
- URL: `https://api.tetrascience.com/login/update-expired`
- Auth: none required

Allow users to update their password if it has expired. Use this when users need to set a new password after their current one has expired.

## Request body

- object
  - `email` Email (unresolved $ref)
  - `password` Password (unresolved $ref)
  - `newPassword` Password (unresolved $ref)
  - `subdomain` string

## Response `200`

Password updated successfully

- object
  - `authType` 'sso' | 'password' | 'service'
  - `email` Email (unresolved $ref)
  - `firstName` string
  - `lastName` string
  - `id` string, uuid
  - `lastActivity` string
  - `status` 'active' | 'inactive'
  - `systemRole` string
  - `roles` object[]
    - `id` Id (unresolved $ref)
    - `orgSlug` Schema (unresolved $ref)
    - `organizationId` Id (unresolved $ref)
    - `role` string
    - `roleId` Id (unresolved $ref)
    - `status` Status (unresolved $ref)
    - `userId` Id (unresolved $ref)
    - `orgName` string

## Other responses

- `400`: Bad request, details in response

---

[API](https://skmtc.dev/tetrascience/apis/administration.md) - [All operations](https://skmtc.dev/tetrascience/apis/administration/llms.txt) - [OpenAPI document](https://skmtc.dev/tetrascience/apis/administration/revisions/c1c829febcc5?raw)
