# PasswordChanged

The PasswordChanged type of the TypeScript SDK, which passwords.change take or answer.

```ts
type PasswordChanged = {
  changed: true
  credentialId: string
}
```

## Fields

| Field | Type | Description |
| --- | --- | --- |
| `changed` | `true` | Always true when password rotation succeeds |
| `credentialId` | `string` | The credential ID whose password was rotated |

## Used by

| Method | What it does |
| --- | --- |
| [`passwords.change`](/docs/sdks/typescript/passwords/change) | Change mailbox login password |
