---
title: "Set a temporary password"
method: PUT
path: "/account/v2/users/{userUuid}/temporaryPassword"
tags: ["User"]
---

# Set a temporary password

`PUT /account/v2/users/{userUuid}/temporaryPassword`

## Request

- Base URL: `https://marketplace.appdirect.com/api`
- URL: `https://marketplace.appdirect.com/api/account/v2/users/{userUuid}/temporaryPassword`
- Auth: none declared
- TypeScript: <https://skmtc.dev/appdirect/apis/companies/docs/account/v2/users/:userUuid/temporaryPassword/put.ts> (a function with typed inputs; its response is checked against the schema)

Set a temporary password for the given marketplace user.
User must be active and specified password must meet user's company password policy.
Effective company is the last company used by the user.

## Path parameters

- `userUuid` string, required

## Request body

- TemporaryPasswordAccountV2: Temporary Password
  - `password` string: Password

## Response `200`

Success

## Other responses

- `401`: Unauthorized
- `403`: Role hierarchy violation. The user making the request cannot change the password of a user with a higher role than their own.
- `404`: User not found

## Changes

- **2026-11-06** `1fc240f06971`: 2 breaking, 1 info
  - the request's body type changed from no type to `object`
  - removed the media type `*/*` for the response with the status `404`
  - added the new optional request property `password`

[Operation history](https://skmtc.dev/appdirect/apis/companies/changes/account/v2/users/:userUuid/temporaryPassword/put.md)

---

[API](https://skmtc.dev/appdirect/apis/companies.md) - [All operations](https://skmtc.dev/appdirect/apis/companies/llms.txt) - [OpenAPI document](https://skmtc.dev/appdirect/apis/companies/revisions/1fc240f06971?raw)
