--- title: "The API gateway rules created in my project in the console get deleted when I deploy my project from the CLI. Why does this happen?" url: https://docs.catalyst.zoho.com/en/faq/cloud-scale/apig-deleted/ description: "You might face this issue if you do not have the latest API Gateway rules in your local system. When you deploy your entire project from your local system …" last_updated: 2026-11-13T05:00:22Z service: CloudScale type: faq --- You might face this issue if you do not have the latest API Gateway rules in your local system. When you deploy your entire project from your local system through the CLI, the API Gateway rules are also deployed. If the updated configurations are not present in your local system, the latest rules from the remote console get replaced with the deployed configurations. To resolve this issue, you can perform a catalyst pull to pull all the latest API Gateway rules to your system first, and then deploy your project.