Share via

can two APIM workspace use the same API base path if they use the different workspace gateway

NIDHIN JOSEPH 0 Reputation points
2026-02-21T17:34:54.1066667+00:00

We're adopting Azure API Management Workspaces (Premium tier). I need a definitive answer on base path (API URL suffix) uniqueness when multiple workspaces are involved.

Scenario

Workspace A has an API with base path: /apples/api/

Workspace B (in the same APIM instance) needs to publish another API with the same base path: /apple/api/.

In Scenario 1, both workspaces would use the default/built-in gateway.

In Scenario 2, each workspace would use a separate workspace gateway (different gateway resources).

Question

  1. Is this allowed in any scenario?
  2. Does associating a different workspace gateway per workspace change the base path uniqueness rule?
  3. If it's not allowed, could you point to the Microsoft Learn article/section that states the service-wide uniqueness requirement (ie, that the API URL suffix must be unique across the entire APIM instance, independent of workspace and workspace gateways)?

What I understand so far (please confirm/correct):

Workspaces are management-plane isolation; APIs still publish through the same APIM service runtime and gateway surface.

Microsoft Learn-Workspaces in Azure API Management (overview of workspaces and workspace

gateways):

https://learn.microsoft.com/en-us/azure/api-management/workspaces-overview

The API path (URL suffix) is a unique identifier within the APIM service instance per the REST contract for creating/updating an API under a workspace:

Workspace Api-Create Or Update (see properties.path: "Relative URL, uniquely identifying this API

...within the API Management service instance.:

https://learn.microsoft.com/en-us/rest/api/apimanagement/workspace-api/create-or-update?view=rest-

Goal

apimanagement-2024-05-01

I need to give my teams a clear rule: can two workspaces (even on different workspace gateways) reuse the same base path on the same APIM instance, or is the API URL suffix globally unique across the instance?

Environment

APIM Premium (Workspaces GA)

Considering both built-in gateway and workspace gateways

CI/CD via laC (Terraform) that targets workspace resource paths

Thanks in advance for an official clarification and the precise doc reference.

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Praveen Kumar Gudipudi 1,875 Reputation points Microsoft External Staff Moderator
    2026-02-24T09:54:36.99+00:00

    Hello NIDHIN JOSEPH,

    There is no current or announced configuration in:

    Premium

    v2

    Workspace GA

    • Workspace gateways

    VNET-injected gateways

    Self-hosted gateway

    Scale units

    that allows duplicate properties.path inside the same APIM service.


  2. Q&A Assist
    2026-02-21T17:35:08.8133333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    In Azure API Management (APIM), the API URL suffix (base path) must be unique across the entire APIM service instance, regardless of whether the APIs are in different workspaces or using different workspace gateways. This means that in your scenario:

    1. Is this allowed in any scenario?
      No, it is not allowed to have two APIs with the same base path in different workspaces within the same APIM instance.
    2. Does associating a different workspace gateway per workspace change the base path uniqueness rule?
      No, using different workspace gateways does not change the requirement for base path uniqueness. The base path must be unique across the entire APIM instance.
    3. If it's not allowed, could you point to the Microsoft Learn article/section that states the service-wide uniqueness requirement?
      The requirement for API URL suffix uniqueness is outlined in the Azure API Management documentation, specifically in the section regarding workspaces and API management features, which states that all resources in an API Management service need to have unique names, including APIs. You can refer to the following documentation for more details:

    In summary, the API URL suffix must be globally unique across the APIM instance, and this rule applies irrespective of the workspace or gateway configuration used.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.