--- title: "Unlocking a Signer" slug: "unlocking-a-signer" updated: 2024-10-15T13:34:17Z published: 2024-10-15T13:34:17Z canonical: "docs.onespan.com/unlocking-a-signer" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.onespan.com/llms.txt > Use this file to discover all available pages before exploring further. # Unlocking a Signer [Java SDK](/v1/docs/unlocking-a-signer#java-sdk) [.NET SDK](/v1/docs/unlocking-a-signer#net-sdk) [REST API](/v1/docs/unlocking-a-signer#rest-api) [APEX SDK](/v1/docs/unlocking-a-signer#apex-sdk) ## Java SDK To download the full code sample see our [Code Share](https://community.onespan.com/documentation/onespan-sign/codeshare/unlock-signer-java-sdk/) site. A signer may be locked out of their account because of too many failed authentication attempts. By calling the PackageService() and by setting the package and signer IDs, you can unlock the signer. The following code will do this: ```java // Unlock the signer in the specified package eslClient.getPackageService().unlockSigner(new PackageId("packageId"), "signerId"); ``` ## .NET SDK To download the full code sample see our [Code Share](https://community.onespan.com/documentation/onespan-sign/codeshare/unlock-signer-net-sdk/) site. A signer may be locked out of their account because of too many failed authentication attempts. By calling the PackageService() and by setting the package and signer IDs, you can unlock the signer. The following code will do this: ```csharp // Unlock the signer in the specified package eslClient.PackageService.UnlockSigner(new PackageId("packageId"), "signerId"); ``` ## REST API To download the full code sample see our [Code Share](https://community.onespan.com/documentation/onespan-sign/codeshare/unlock-signer-rest-api/) site. A signer may be locked out of their account because of too many failed authentication attempts. The following code will unlock a signer: #### HTTP Request ```http POST /api/packages/{packageId}/roles/{roleId}/unlock ``` #### HTTP Headers ```http Accept: application/json Content-Type: application/json Authorization: Basic api_key ``` ## APEX SDK To download the full code sample see our [Code Share](https://community.onespan.com/documentation/onespan-sign/codeshare/unlock-signer-apex-sdk/) site. A signer may be locked out of their account because of too many failed authentication attempts. You can unlock your signer by passing the package and Role ID as parameters. The following code will do this: ```plaintext public void unlockSigner(String packageId, String roleId) ```