---
title: Generate password request control
description: The proprietary generate password request control may be included in an add request to indicate that the server should generate a new password for the entry. The control has an OID of 1.3.6.1.4.1.30221.2.5.58, and it does not take a value.
component: pingdirectory
page_id: pingdirectory:directory:controls/generate-password-request-control
canonical_url: https://developer.pingidentity.com/pingdirectory/directory/controls/generate-password-request-control.html
---

# Generate password request control

The proprietary generate password request control may be included in an add request to indicate that the server should generate a new password for the entry. The control has an OID of 1.3.6.1.4.1.30221.2.5.58, and it does not take a value.

The following sample shows the JSON encoding for the control:

```json
{
    "oid":"1.3.6.1.4.1.30221.2.5.58",
    "control-name":"Generate Password Request Control",
    "criticality":false
}
```
