# Method: projects.brands.identityAwareProxyClients.resetSecret

- [HTTP request](https://docs.cloud.google.com/iap/docs/reference/rest/v1/projects.brands.identityAwareProxyClients/resetSecret#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/iap/docs/reference/rest/v1/projects.brands.identityAwareProxyClients/resetSecret#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/iap/docs/reference/rest/v1/projects.brands.identityAwareProxyClients/resetSecret#body.request_body)
- [Response body](https://docs.cloud.google.com/iap/docs/reference/rest/v1/projects.brands.identityAwareProxyClients/resetSecret#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/iap/docs/reference/rest/v1/projects.brands.identityAwareProxyClients/resetSecret#body.aspect)
- [Try it!](https://docs.cloud.google.com/iap/docs/reference/rest/v1/projects.brands.identityAwareProxyClients/resetSecret#try-it)

Resets an Identity Aware Proxy (IAP) OAuth client secret. Useful if the secret was compromised. Requires that the client is owned by IAP.

### HTTP request

`POST https://iap.googleapis.com/v1/{name=projects/*/brands/*/identityAwareProxyClients/*}:resetSecret`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. Name of the Identity Aware Proxy client to that will have its secret reset. In the following format: projects/{projectNumber/id}/brands/{brand}/identityAwareProxyClients/{clientId}. Authorization requires the following [IAM](https://cloud.google.com/iam/docs/) permission on the specified resource `name`: - `clientauthconfig.clients.update` |

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/iap/docs/reference/rest/v1/projects.brands.identityAwareProxyClients#IdentityAwareProxyClient`.

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).