---
title: "reportUnknownPublicKeyCredential(relyingPartyIdentifier:credentialID:)"
framework: authenticationservices
role: symbol
role_heading: Instance Method
path: "authenticationservices/ascredentialdatamanager/reportunknownpublickeycredential(relyingpartyidentifier:credentialid:)"
---

# reportUnknownPublicKeyCredential(relyingPartyIdentifier:credentialID:)

Report that a specific credential is unknown or no longer accepted. The credential may be removed or hidden by a password manager. This information is shared with all password managers enabled in the system.

## Declaration

```swift
final func reportUnknownPublicKeyCredential(relyingPartyIdentifier: String, credentialID: Data) async throws
```

## Parameters

- `relyingPartyIdentifier`: Relying party (website) that the credential is saved for.
- `credentialID`: An identifier that uniquely identifies this credential.

## Discussion

Discussion note: ASAuthorizationError if the system failed to accept the update.
