Azure ExpressRoute Service Endpoint Policy Definitions API
The ServiceEndpointPolicyDefinitions API from Azure ExpressRoute — 2 operation(s) for serviceendpointpolicydefinitions.
The ServiceEndpointPolicyDefinitions API from Azure ExpressRoute — 2 operation(s) for serviceendpointpolicydefinitions.
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/microsoft-azure-express-route:microsoft-azure-express-route-serviceendpointpolicydefinitions-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. 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:
title: Microsoft Azure Express Route Service Endpoint Policy…
version: '2026-03-01'
x-refined-note:
- x-source differs across the merged source definitions and was not carried
x-typespec-generated:
- emitter: '@azure-tools/typespec-autorest'
description: 'Operations tagged ServiceEndpointPolicyDefinitions across 2 of this provider''s published API definitions: microsoft-azure-express-route-expressroute-swagger.json, microsoft-azure-express-route-expressroute-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: ServiceEndpointPolicyDefinitions
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions
: get:
operationId: ServiceEndpointPolicyDefinitions_ListByResourceGroup
tags:
- ServiceEndpointPolicyDefinitions
description: Gets all service endpoint policy definitions in a service end point policy.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: serviceEndpointPolicyName
in: path
description: The name of the service endpoint policy.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceEndpointPolicyDefinitionListResult'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: ./common.json#/definitions/CloudError
x-ms-examples:
List service endpoint definitions in service end point policy:
$ref: ./examples/ServiceEndpointPolicyDefinitionList.json
x-ms-pageable:
nextLinkName: nextLink
summary: Service endpoint policy definitions list by resource group
x-summary-source: derived
servers:
- url: https://management.azure.com
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}
: delete:
operationId: ServiceEndpointPolicyDefinitions_Delete
tags:
- ServiceEndpointPolicyDefinitions
description: Deletes the specified ServiceEndpoint policy definitions.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: serviceEndpointPolicyName
in: path
description: The name of the service endpoint policy.
required: true
schema:
type: string
- name: serviceEndpointPolicyDefinitionName
in: path
description: The name of the resource that is unique within a resource group. This name can be used to access the resource.
required: true
schema:
type: string
responses:
'200':
description: Resource deleted successfully.
'202':
description: Resource deletion accepted.
headers:
Location:
description: The Location header contains the URL where the status of the long running operation can be checked.
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
'204':
description: Resource does not exist.
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: ./common.json#/definitions/CloudError
x-ms-examples:
Delete service endpoint policy definitions from service endpoint policy:
$ref: ./examples/ServiceEndpointPolicyDefinitionDelete.json
x-ms-long-running-operation-options:
final-state-via: location
x-ms-long-running-operation: true
summary: Service endpoint policy definitions delete
x-summary-source: derived
get:
operationId: ServiceEndpointPolicyDefinitions_Get
tags:
- ServiceEndpointPolicyDefinitions
description: Get a ServiceEndpointPolicyDefinition
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: serviceEndpointPolicyName
in: path
description: The name of the service endpoint policy.
required: true
schema:
type: string
- name: serviceEndpointPolicyDefinitionName
in: path
description: The name of the resource that is unique within a resource group. This name can be used to access the resource.
required: true
schema:
type: string
responses:
'200':
description: Azure operation completed successfully.
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceEndpointPolicyDefinition'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: ./common.json#/definitions/CloudError
x-ms-examples:
Get service endpoint definition in service endpoint policy:
$ref: ./examples/ServiceEndpointPolicyDefinitionGet.json
summary: Service endpoint policy definitions get
x-summary-source: derived
put:
operationId: ServiceEndpointPolicyDefinitions_CreateOrUpdate
tags:
- ServiceEndpointPolicyDefinitions
description: Creates or updates a service endpoint policy definition in the specified service endpoint policy.
parameters:
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
- $ref: ../../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
- name: serviceEndpointPolicyName
in: path
description: The name of the service endpoint policy.
required: true
schema:
type: string
- name: serviceEndpointPolicyDefinitionName
in: path
description: The name of the resource that is unique within a resource group. This name can be used to access the resource.
required: true
schema:
type: string
responses:
'200':
description: Resource 'ServiceEndpointPolicyDefinition' update operation succeeded
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceEndpointPolicyDefinition'
'201':
description: Resource 'ServiceEndpointPolicyDefinition' create operation succeeded
headers:
Azure-AsyncOperation:
description: A link to the status monitor
schema:
type: string
Retry-After:
description: The Retry-After header can indicate how long the client should wait before polling the operation status.
schema:
type: integer
format: int32
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceEndpointPolicyDefinition'
default:
description: An unexpected error response.
content:
application/json:
schema:
$ref: ./common.json#/definitions/CloudError
x-ms-examples:
Create service endpoint policy definition:
$ref: ./examples/ServiceEndpointPolicyDefinitionCreate.json
x-ms-long-running-operation-options:
final-state-via: azure-async-operation
final-state-schema: '#/definitions/ServiceEndpointPolicyDefinition'
x-ms-long-running-operation: true
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ServiceEndpointPolicyDefinition'
description: Parameters supplied to the create or update service endpoint policy operation.
required: true
summary: Service endpoint policy definitions create or update
x-summary-source: derived
servers:
- url: https://management.azure.com
components:
schemas:
ServiceEndpointPolicyDefinitionPropertiesFormat:
type: object
description: Service Endpoint policy definition resource.
properties:
description:
type: string
description: A description for this rule. Restricted to 140 chars.
service:
type: string
description: Service endpoint name.
serviceResources:
type: array
description: A list of service resources.
items:
type: string
provisioningState:
$ref: ./common.json#/definitions/ProvisioningState
description: The provisioning state of the service endpoint policy definition resource.
readOnly: true
ServiceEndpointPolicyDefinitionListResult:
type: object
description: The response of a ServiceEndpointPolicyDefinition list operation.
properties:
value:
type: array
description: The ServiceEndpointPolicyDefinition items on this page
items:
$ref: '#/components/schemas/ServiceEndpointPolicyDefinition'
nextLink:
type: string
format: uri
description: The link to the next page of items
required:
- value
ServiceEndpointPolicyDefinition:
type: object
description: Service Endpoint policy definitions.
properties:
properties:
$ref: '#/components/schemas/ServiceEndpointPolicyDefinitionPropertiesFormat'
description: Properties of the service endpoint policy definition.
x-ms-client-flatten: true
etag:
type: string
description: A unique read-only string that changes whenever the resource is updated.
readOnly: true
allOf:
- $ref: ./common.json#/definitions/SubResourceModel
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.
x-refined-from:
- microsoft-azure-express-route-expressroute-swagger.json
- microsoft-azure-express-route-expressroute-openapi.json