This POST /directory/v1 operation adds a _controls property to the requests and responses for these APIs. The property is an array of JSON formatted controls that are used to include additional content in LDAP requests and responses. For more information about supported controls, see Controls.

The sample shows a create request that includes two controls, a generate password request control and an intermediate client request control.

The response body includes an additional _controls property that shows the two controls specified in the request. Note that the generated password request control includes the generated password in the response.

When successful, the response returns a 201 Created message.