# Removing contract failed: \[Error Code: 1056\] (RemoveContract) is not authorized: removing contracts requires authorization from specific accounts

**URL:** <https://forum.flow.com/t/removing-contract-failed-error-code-1056-removecontract-is-not-authorized-removing-contracts-requires-authorization-from-specific-accounts/3694>\
**Category:** 🛠 Developer Tools\
**Created:** [October 6, 2022, 4:18pm UTC](https://forum.flow.com/t/removing-contract-failed-error-code-1056-removecontract-is-not-authorized-removing-contracts-requires-authorization-from-specific-accounts/3694 "2022-10-06T16:18:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![vasu5235](https://avatars.discourse-cdn.com/v4/letter/v/9e8a1a/32.png) [@vasu5235](https://forum.flow.com/u/vasu5235)\
**Post date:** [October 6, 2022, 4:18pm UTC](https://forum.flow.com/t/removing-contract-failed-error-code-1056-removecontract-is-not-authorized-removing-contracts-requires-authorization-from-specific-accounts/3694/1 "2022-10-06T16:18:59Z")

</div>

Using flow-cli, if I run `flow accounts remove-contract HelloWorld --network testnet --signer testnet-account` I get the above error. I created the contract using the same account but unable to remove it from testnet.

I read something about using `auth accounts` to remove contracts but couldn’t find any relevant examples showing its usecase. Any suggestions?

Do let me know if I can share any more information.

flow version: 0.41.0  
account address: 0xf6827b3c1293b661

---

<div class="post-metadata">

**Author:** ![NasirAliShah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.flow.com/nasiralishah/32/519_2.png) [@NasirAliShah](https://forum.flow.com/u/NasirAliShah)\
**Post date:** [October 6, 2022, 5:24pm UTC](https://forum.flow.com/t/removing-contract-failed-error-code-1056-removecontract-is-not-authorized-removing-contracts-requires-authorization-from-specific-accounts/3694/2 "2022-10-06T17:24:13Z")

</div>

Currently, testnet does not allow to the removal of contracts, we have made contract removal **temporarily** permissioned on Testnet – just like it already is on Mainnet.  
you can find more details in this post.

> [@Testnet is running Secure Cadence!](http://forum.flow.com/t/testnet-is-running-secure-cadence/3213):
>
> Update 10th June We realized that the permissionless contract deployments in combination with the current implementation of the contract removal feature could be used to circumvent the contract update validation checks we have in place. To ensure we don’t compromise the safety of the applications running on Flow, we have made contract removal temporarily permissioned on Testnet – just like it already currently already is on Mainnet. We are working on a proper implementation of contract remova…
