Skip to content

[BUG]Not able to remove gateways after removing it from the code. #839

Description

@karthikpeddi1989

Release version

v6.0.1.1

Describe the bug

In the api code, if we add the gateway, we are able to see the gateway in apim.
If we delete the gateway in api code, the gateway is not getting deleted.

Expected behavior

Under artifacts -> gateways -> gateway name -> apis -> yourapi --> Gateway is added in apim api collection..
Under artifacts -> gateways -> gateway name -> apis -> yourapi [remove this one] --> Gateway should be removed from apim api collection

Actual behavior

Under artifacts -> gateways -> gateway name -> apis -> yourapi --> Gateway is added in apim api collection.. [working as expected]
Under artifacts -> gateways -> gateway name -> apis -> yourapi [remove this one] --> Gateway is not getting removed from apim api collection

Reproduction Steps

Under artifacts -> gateways -> gateway name -> apis -> yourapi --> Gateway is added in apim api collection.. [working as expected]
Under artifacts -> gateways -> gateway name -> apis -> yourapi [remove this one] --> Gateway is not getting removed from apim api collection

Activity

  1. github-actions commented on Apr 1, 2026

    @github-actions
      Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
      Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
    
  2. guythetechie commented on May 20, 2026

    @guythetechie
    Contributor

    karthikpeddi1989 - are you still seeing this issue in v7?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions