# ClearCredentialRegistryRequest.PerTypeConfig

Artifact: [androidx.credentials.registry:registry-provider](https://developer.android.com/jetpack/androidx/releases/credentials-registry) [View Source](https://cs.android.com/search?q=file:androidx/credentials/registry/provider/ClearCredentialRegistryRequest.kt+class:androidx.credentials.registry.provider.ClearCredentialRegistryRequest.PerTypeConfig) Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

*** ** * ** ***


```
class ClearCredentialRegistryRequest.PerTypeConfig
```

<br />

*** ** * ** ***

Configures how to clear the registries for a given type.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCredentialRegistryRequest.PerTypeConfig#PerTypeConfig(kotlin.Boolean,kotlin.String,kotlin.collections.List)( isDeleteAll: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, registryIds: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html> )` constructs an instance of `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCredentialRegistryRequest.PerTypeConfig` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCredentialRegistryRequest.PerTypeConfig#isDeleteAll()` whether to delete all registries for the given type |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCredentialRegistryRequest.PerTypeConfig#registryIds()` the IDs of the registries for the given type to delete, matching one or more `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCredentialsRequest#id()` used during credential registration |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCredentialRegistryRequest.PerTypeConfig#type()` the type of registry to clear, matching the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCredentialsRequest#type()` provided provided during the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)` call |

## Public constructors

### PerTypeConfig

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
PerTypeConfig(
    isDeleteAll: Boolean,
    type: String,
    registryIds: List<String>
)
```

constructs an instance of `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/ClearCredentialRegistryRequest.PerTypeConfig`

| Parameters |
|---|---|
| `isDeleteAll: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether to delete all registries for the given type |
| `type: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | the type of registry to clear, matching the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCredentialsRequest#type()` provided provided during the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)` call |
| `registryIds: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | the IDs of the registries for the given type to delete, matching one or more `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCredentialsRequest#id()` used during credential registration |

## Public properties

### isDeleteAll

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
val isDeleteAll: Boolean
```

whether to delete all registries for the given type

### registryIds

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
val registryIds: List<String>
```

the IDs of the registries for the given type to delete, matching one or more `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCredentialsRequest#id()` used during credential registration

### type

Added in [1.0.0-alpha05](https://developer.android.com/jetpack/androidx/releases/credentials-registry#1.0.0-alpha05)

```
val type: String
```

the type of registry to clear, matching the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegisterCredentialsRequest#type()` provided provided during the `https://developer.android.com/reference/kotlin/androidx/credentials/registry/provider/RegistryManager#registerCredentials(androidx.credentials.registry.provider.RegisterCredentialsRequest)` call