Azure Event Grid Partner Namespaces API
The PartnerNamespaces API from Azure Event Grid — 5 operation(s) for partnernamespaces.
The PartnerNamespaces API from Azure Event Grid — 5 operation(s) for partnernamespaces.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/azure-event-grid:azure-event-grid-partnernamespaces-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: '2025-02-15'
title: EventGridManagementClient Partner Namespaces API
description: Azure EventGrid Management Client
servers:
- url: https://management.azure.com
tags:
- name: PartnerNamespaces
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}
: get:
tags:
- PartnerNamespaces
summary: Get a partner namespace
description: Get properties of a partner namespace.
operationId: PartnerNamespaces_Get
parameters:
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: resourceGroupName
in: path
description: The name of the resource group within the user's subscription.
required: true
schema:
type: string
- name: partnerNamespaceName
in: path
description: Name of the partner namespace.
required: true
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespace'
default:
description: Error response returned if request was unsuccessful.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
put:
tags:
- PartnerNamespaces
summary: Create a partner namespace
description: Asynchronously creates a new partner namespace with the specified parameters.
operationId: PartnerNamespaces_CreateOrUpdate
parameters:
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: resourceGroupName
in: path
description: The name of the resource group within the user's subscription.
required: true
schema:
type: string
- name: partnerNamespaceName
in: path
description: Name of the partner namespace.
required: true
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespace'
default:
description: Error response returned if request was unsuccessful.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespace'
description: PartnerNamespace information.
required: true
delete:
tags:
- PartnerNamespaces
summary: Delete a partner namespace
description: Delete existing partner namespace.
operationId: PartnerNamespaces_Delete
parameters:
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: resourceGroupName
in: path
description: The name of the resource group within the user's subscription.
required: true
schema:
type: string
- name: partnerNamespaceName
in: path
description: Name of the partner namespace.
required: true
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
responses:
'200':
description: OK
'202':
description: Accepted
headers:
Location:
schema:
type: string
'204':
description: NoContent
default:
description: Error response returned if request was unsuccessful.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation: true
patch:
tags:
- PartnerNamespaces
summary: Update a partner namespace
description: Asynchronously updates a partner namespace with the specified parameters.
operationId: PartnerNamespaces_Update
parameters:
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: resourceGroupName
in: path
description: The name of the resource group within the user's subscription.
required: true
schema:
type: string
- name: partnerNamespaceName
in: path
description: Name of the partner namespace.
required: true
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
responses:
'200':
description: OK
'201':
description: Partner namespace update request accepted.
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespace'
default:
description: Error response returned if request was unsuccessful.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespaceUpdateParameters'
description: Partner namespace update information.
required: true
/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/partnerNamespaces:
get:
tags:
- PartnerNamespaces
summary: List partner namespaces under an Azure subscription
description: List all the partner namespaces under an Azure subscription.
operationId: PartnerNamespaces_ListBySubscription
parameters:
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/FilterParameter'
- $ref: '#/components/parameters/TopParameter'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespacesListResult'
default:
description: Error response returned if request was unsuccessful.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces:
get:
tags:
- PartnerNamespaces
summary: List partner namespaces under a resource group
description: List all the partner namespaces under a resource group.
operationId: PartnerNamespaces_ListByResourceGroup
parameters:
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: resourceGroupName
in: path
description: The name of the resource group within the user's subscription.
required: true
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/FilterParameter'
- $ref: '#/components/parameters/TopParameter'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespacesListResult'
default:
description: Error response returned if request was unsuccessful.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/listKeys
: post:
tags:
- PartnerNamespaces
summary: List keys for a partner namespace
description: List the two keys used to publish to a partner namespace.
operationId: PartnerNamespaces_ListSharedAccessKeys
parameters:
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: resourceGroupName
in: path
description: The name of the resource group within the user's subscription.
required: true
schema:
type: string
- name: partnerNamespaceName
in: path
description: Name of the partner namespace.
required: true
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespaceSharedAccessKeys'
default:
description: Error response returned if request was unsuccessful.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/regenerateKey
: post:
tags:
- PartnerNamespaces
summary: Regenerate key for a partner namespace
description: Regenerate a shared access key for a partner namespace.
operationId: PartnerNamespaces_RegenerateKey
parameters:
- $ref: '#/components/parameters/SubscriptionIdParameter'
- name: resourceGroupName
in: path
description: The name of the resource group within the user's subscription.
required: true
schema:
type: string
- name: partnerNamespaceName
in: path
description: Name of the partner namespace.
required: true
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespaceSharedAccessKeys'
default:
description: Error response returned if request was unsuccessful.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PartnerNamespaceRegenerateKeyRequest'
description: Request body to regenerate key.
required: true
components:
schemas:
PrivateEndpointConnection:
type: object
allOf:
- $ref: '#/components/schemas/Resource'
properties:
properties:
$ref: '#/components/schemas/PrivateEndpointConnectionProperties'
description: Properties of the PrivateEndpointConnection.
x-ms-client-flatten: true
PartnerNamespacesListResult:
description: Result of the List Partner Namespaces operation
type: object
properties:
value:
description: A collection of partner namespaces.
type: array
items:
$ref: '#/components/schemas/PartnerNamespace'
nextLink:
description: A link for the next page of partner namespaces.
type: string
PartnerNamespaceSharedAccessKeys:
description: Shared access keys of the partner namespace.
type: object
properties:
key1:
description: Shared access key1 for the partner namespace.
type: string
key2:
description: Shared access key2 for the partner namespace.
type: string
PrivateEndpointConnectionProperties:
description: Properties of the private endpoint connection resource.
type: object
properties:
privateEndpoint:
$ref: '#/components/schemas/PrivateEndpoint'
description: The Private Endpoint resource for this Connection.
groupIds:
description: GroupIds from the private link service resource.
type: array
items:
type: string
privateLinkServiceConnectionState:
$ref: '#/components/schemas/ConnectionState'
description: Details about the state of the connection.
provisioningState:
description: Provisioning state of the Private Endpoint Connection.
enum:
- Creating
- Updating
- Deleting
- Succeeded
- Canceled
- Failed
type: string
x-ms-enum:
name: ResourceProvisioningState
modelAsString: true
TrackedResource:
description: Definition of a Tracked Resource.
required:
- location
type: object
allOf:
- $ref: '#/components/schemas/Resource'
properties:
location:
description: Location of the resource.
type: string
x-ms-mutability:
- read
- create
tags:
description: Tags of the resource.
type: object
additionalProperties:
type: string
PartnerNamespaceProperties:
description: Properties of the partner namespace.
type: object
properties:
privateEndpointConnections:
description: List of private endpoint connections.
type: array
items:
$ref: '#/components/schemas/PrivateEndpointConnection'
readOnly: true
provisioningState:
description: Provisioning state of the partner namespace.
enum:
- Creating
- Updating
- Deleting
- Succeeded
- Canceled
- Failed
type: string
readOnly: true
x-ms-enum:
name: PartnerNamespaceProvisioningState
modelAsString: true
partnerRegistrationFullyQualifiedId:
description: 'The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format:
/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}.'
type: string
minimumTlsVersionAllowed:
description: Minimum TLS version of the publisher allowed to publish to this partner namespace
enum:
- '1.0'
- '1.1'
- '1.2'
type: string
x-ms-enum:
name: TlsVersion
modelAsString: true
endpoint:
description: Endpoint for the partner namespace.
type: string
readOnly: true
publicNetworkAccess:
description: 'This determines if traffic is allowed over public network. By default it is enabled.
You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" />'
enum:
- Enabled
- Disabled
type: string
x-ms-enum:
name: PublicNetworkAccess
modelAsString: true
default: Enabled
inboundIpRules:
description: 'This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.'
type: array
items:
$ref: '#/components/schemas/InboundIpRule'
x-ms-identifiers: []
disableLocalAuth:
description: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace.
default: false
type: boolean
partnerTopicRoutingMode:
description: 'This determines if events published to this partner namespace should use the source attribute in the event payload
or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic.'
default: SourceEventAttribute
enum:
- SourceEventAttribute
- ChannelNameHeader
type: string
x-ms-enum:
name: PartnerTopicRoutingMode
modelAsString: true
PrivateEndpoint:
description: PrivateEndpoint information.
type: object
properties:
id:
description: The ARM identifier for Private Endpoint.
type: string
PartnerNamespace:
description: EventGrid Partner Namespace.
type: object
allOf:
- $ref: '#/components/schemas/TrackedResource'
properties:
properties:
$ref: '#/components/schemas/PartnerNamespaceProperties'
description: Properties of the Partner Namespace.
x-ms-client-flatten: true
systemData:
$ref: '#/components/schemas/systemData'
description: The system metadata relating to the Event Grid resource.
type: object
readOnly: true
Resource:
description: Definition of a Resource.
type: object
properties:
id:
description: Fully qualified identifier of the resource.
type: string
readOnly: true
name:
description: Name of the resource.
type: string
readOnly: true
type:
description: Type of the resource.
type: string
readOnly: true
x-ms-azure-resource: true
ConnectionState:
description: ConnectionState information.
type: object
properties:
status:
description: Status of the connection.
enum:
- Pending
- Approved
- Rejected
- Disconnected
type: string
x-ms-enum:
name: PersistedConnectionStatus
modelAsString: true
description:
description: Description of the connection state.
type: string
actionsRequired:
description: Actions required (if any).
type: string
systemData:
type: object
description: Metadata pertaining to creation and last modification of the resource.
properties:
createdBy:
type: string
description: The identity that created the resource.
createdByType:
type: string
description: The type of identity that created the resource.
enum:
- User
- Application
- ManagedIdentity
- Key
x-ms-enum:
name: createdByType
modelAsString: true
createdAt:
type: string
format: date-time
description: The timestamp of resource creation (UTC).
lastModifiedBy:
type: string
description: The identity that last modified the resource.
lastModifiedByType:
type: string
description: The type of identity that last modified the resource.
enum:
- User
- Application
- ManagedIdentity
- Key
x-ms-enum:
name: createdByType
modelAsString: true
lastModifiedAt:
type: string
format: date-time
description: The timestamp of resource last modification (UTC)
readOnly: true
PartnerNamespaceUpdateParameters:
description: Properties of the Partner Namespace update.
type: object
properties:
tags:
description: Tags of the Partner Namespace.
type: object
additionalProperties:
type: string
properties:
$ref: '#/components/schemas/PartnerNamespaceUpdateParameterProperties'
description: Properties of the Partner Namespace.
x-ms-client-flatten: true
PartnerNamespaceRegenerateKeyRequest:
description: PartnerNamespace regenerate shared access key request.
required:
- keyName
type: object
properties:
keyName:
description: Key name to regenerate (key1 or key2).
type: string
PartnerNamespaceUpdateParameterProperties:
description: Information of Partner Namespace update parameter properties.
type: object
properties:
publicNetworkAccess:
description: "This determines if traffic is allowed over public network. By default it is enabled. \nYou can further restrict to specific IPs by configuring <seealso cref=\"P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceUpdateParameterProperties.InboundIpRules\" />"
enum:
- Enabled
- Disabled
type: string
x-ms-enum:
name: PublicNetworkAccess
modelAsString: true
default: Enabled
inboundIpRules:
description: 'This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.'
type: array
items:
$ref: '#/components/schemas/InboundIpRule'
x-ms-identifiers: []
minimumTlsVersionAllowed:
description: Minimum TLS version of the publisher allowed to publish to this domain
enum:
- '1.0'
- '1.1'
- '1.2'
type: string
x-ms-enum:
name: TlsVersion
modelAsString: true
disableLocalAuth:
description: This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace.
type: boolean
ErrorResponse:
type: object
title: Error response
description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
InboundIpRule:
type: object
properties:
ipMask:
description: IP Address in CIDR notation e.g., 10.0.0.0/8.
type: string
action:
description: Action to perform based on the match or no match of the IpMask.
enum:
- Allow
type: string
x-ms-enum:
name: IpActionType
modelAsString: true
parameters:
TopParameter:
name: $top
in: query
description: The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.
required: false
x-ms-parameter-location: method
schema:
type: integer
format: int32
SubscriptionIdParameter:
name: subscriptionId
in: path
description: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
required: true
schema:
type: string
FilterParameter:
name: $filter
in: query
description: 'The query used to filter the search results using OData syntax. Filtering is permitted on the ''name'' property only and with limited number of OData operations. These operations are: the ''contains'' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, ''PATTERN'') and name ne ''PATTERN-1''. The following is not a valid filter example: $filter=location eq ''westus''.'
required: false
x-ms-parameter-location: method
schema:
type: string
ApiVersionParameter:
name: api-version
in: query
description: Version of the API to be used with the client request.
required: true
schema:
type: string
securitySchemes:
azure_auth:
type: oauth2
flows:
implicit:
scopes:
user_impersonation: impersonate your user account
authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
description: Azure Active Directory OAuth2 Flow