---
title: "Change account password"
method: PUT
path: "/restapi/json/v1/resources/{resourceId}/accounts/{accountId}/password"
tags: ["Passwords"]
---

# Change account password

`PUT /restapi/json/v1/resources/{resourceId}/accounts/{accountId}/password`

## Request

- Base URL: `https://Hostname:Port`
- URL: `https://Hostname:Port/restapi/json/v1/resources/{resourceId}/accounts/{accountId}/password`
- Auth: API key in header `AUTHTOKEN`
- TypeScript: <https://skmtc.dev/manageengine/apis/pam360-rest-api/docs/restapi/json/v1/resources/:resourceId/accounts/:accountId/password/put.ts> (a function with typed inputs; its response is checked against the schema)

This API allows you to change the password of a specific account under a resource. A reason must be provided for auditing purposes.

## Path parameters

- `resourceId` integer, required
- `accountId` integer, required

## Headers

- `orgName` string

## Request body `application/x-www-form-urlencoded`

- ChangePasswordRequest
  - `operation` object, required
    - `Details` object, required
      - `NEWPASSWORD` string, required: New password to set for the account
      - `RESETTYPE` string, required: Type of reset (LOCAL or DOMAIN)
      - `REASON` string, required: Reason for the password change (mandatory for auditing)

## Response `200`

Password changed

- ChangePasswordResponse
  - `operation` object
    - `result` OperationResult
      - `message` string: Result message describing the operation outcome
      - `status` string: Operation status
    - `name` string

---

[API](https://skmtc.dev/manageengine/apis/pam360-rest-api.md) - [All operations](https://skmtc.dev/manageengine/apis/pam360-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/manageengine/apis/pam360-rest-api/revisions/44a47abb4bdb?raw)
