# Set subaccount's password (https://developer.godaddy.com/en/docs/references/rest/shoppers/change-password)

---
title: Set subaccount's password
description: >-
  <strong>Notes:</strong><ol><li>Password set is only supported by API Resellers
  setting subaccount passwords.
full: true
---

Full description

Notes:Password set is only supported by API Resellers setting subaccount passwords.

## PUT /v1/shoppers/{shopperId}/factors/password

Set subaccount's password

<strong>Notes:</strong><ol><li>Password set is only supported by API Resellers setting subaccount passwords.</li></ol>

### Path parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `shopperId` | string | yes | Shopper whose password will be set |

### Request body (required)

The value to set the subaccount's password to

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/Secret`

### Responses

**200** — Request was successful

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/ShopperId`

**400** — Request was not successful

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/PasswordError`

**401** — Authentication info not sent or invalid

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/Error`

**500** — Internal server error

Content-Type: `application/json`

Schema:

- schema reference: `#/components/schemas/Error`
