Azure Networking Services Network Security Perimeters API

The NetworkSecurityPerimeters API from Azure Networking Services — 3 operation(s) for networksecurityperimeters.

GitHub OpenAPI

Operations 6

GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityPerimeters Network security perimeters list by subscription #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters Network security perimeters list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName} Network security perimeters get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName} Network security perimeters create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName} Network security perimeters patch #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName} Network security perimeters delete #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/azure-networking-services:azure-networking-services-networksecurityperimeters-api"
All apis
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.

Get an API 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 Specification

azure-networking-services-networksecurityperimeters-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Network Security…
  version: '2026-03-01'
  description: APIs to manage Microsoft Azure network resources.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: NetworkSecurityPerimeters
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityPerimeters:
    get:
      operationId: NetworkSecurityPerimeters_ListBySubscription
      tags:
      - NetworkSecurityPerimeters
      description: List all network security perimeters in a subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: $top
        in: query
        description: An optional query parameter which specifies the maximum number of records to be returned by the server.
        required: false
        schema:
          type: integer
          format: int32
          maximum: 20
          minimum: 1
      - name: $skipToken
        in: query
        description: SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkSecurityPerimeterListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Network security perimeters list by subscription
      x-summary-source: derived
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters:
    get:
      operationId: NetworkSecurityPerimeters_List
      tags:
      - NetworkSecurityPerimeters
      description: List network security perimeters in a resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: $top
        in: query
        description: An optional query parameter which specifies the maximum number of records to be returned by the server.
        required: false
        schema:
          type: integer
          format: int32
          maximum: 20
          minimum: 1
      - name: $skipToken
        in: query
        description: SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkSecurityPerimeterListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Network security perimeters list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}
  : get:
      operationId: NetworkSecurityPerimeters_Get
      tags:
      - NetworkSecurityPerimeters
      description: Gets the specified network security perimeter by the name.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkSecurityPerimeter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Network security perimeters get
      x-summary-source: derived
    put:
      operationId: NetworkSecurityPerimeters_CreateOrUpdate
      tags:
      - NetworkSecurityPerimeters
      description: Creates or updates a Network Security Perimeter.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      responses:
        '200':
          description: Resource 'NetworkSecurityPerimeter' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkSecurityPerimeter'
        '201':
          description: Resource 'NetworkSecurityPerimeter' create operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkSecurityPerimeter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NetworkSecurityPerimeter'
        description: Parameter supplied to create or update the network security perimeter.
        required: true
      summary: Network security perimeters create or update
      x-summary-source: derived
    patch:
      operationId: NetworkSecurityPerimeters_Patch
      tags:
      - NetworkSecurityPerimeters
      description: Patch Tags for a Network Security Perimeter.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NetworkSecurityPerimeter'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateTagsRequest'
        description: Parameter supplied to the network security perimeter.
        required: true
      summary: Network security perimeters patch
      x-summary-source: derived
    delete:
      operationId: NetworkSecurityPerimeters_Delete
      tags:
      - NetworkSecurityPerimeters
      description: Deletes a network security perimeter.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: networkSecurityPerimeterName
        in: path
        description: The name of the network security perimeter.
        required: true
        schema:
          type: string
          maxLength: 80
          pattern: (^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)
      - name: forceDeletion
        in: query
        description: Deletes the resource even if it contains any child associations.
        required: false
        schema:
          type: boolean
      responses:
        '200':
          description: Resource deleted successfully.
        '202':
          description: Resource deletion accepted.
          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
        '204':
          description: Resource does not exist.
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      x-ms-long-running-operation: true
      summary: Network security perimeters delete
      x-summary-source: derived
components:
  schemas:
    NetworkSecurityPerimeterListResult:
      type: object
      description: The response of a NetworkSecurityPerimeter list operation.
      properties:
        value:
          type: array
          description: The NetworkSecurityPerimeter items on this page
          items:
            $ref: '#/components/schemas/NetworkSecurityPerimeter'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    NetworkSecurityPerimeterProperties:
      type: object
      description: Properties of network security perimeter.
      properties:
        provisioningState:
          $ref: '#/components/schemas/NspProvisioningState'
          description: The provisioning state of the scope assignment resource.
          readOnly: true
        perimeterGuid:
          type: string
          description: perimeter guid of the network security perimeter.
          readOnly: true
    SecurityPerimeterTrackedResource:
      type: object
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
          x-ms-mutability:
          - read
          - update
          - create
        location:
          type: string
          description: The geo-location where the resource lives
          x-ms-mutability:
          - read
          - create
      required:
      - location
      allOf:
      - $ref: '#/components/schemas/SecurityPerimeterResource'
      x-ms-azure-resource: true
    NspProvisioningState:
      type: string
      description: The current provisioning state.
      enum:
      - Succeeded
      - Creating
      - Updating
      - Deleting
      - Accepted
      - Failed
      x-ms-enum:
        name: NspProvisioningState
        modelAsString: true
        values:
        - name: Succeeded
          value: Succeeded
          description: Succeeded
        - name: Creating
          value: Creating
          description: Creating
        - name: Updating
          value: Updating
          description: Updating
        - name: Deleting
          value: Deleting
          description: Deleting
        - name: Accepted
          value: Accepted
          description: Accepted
        - name: Failed
          value: Failed
          description: Failed
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
    UpdateTagsRequest:
      type: object
      description: Update tags request.
      properties:
        id:
          type: string
          format: arm-id
          description: Network security perimeter identifier.
          readOnly: true
          x-ms-arm-id-details:
            allowedResources:
            - type: Microsoft.Network/networkSecurityPerimeters
        tags:
          type: object
          description: List of tags for Network Security Perimeter
          additionalProperties:
            type: string
    NetworkSecurityPerimeter:
      type: object
      description: The Network Security Perimeter resource
      properties:
        properties:
          $ref: '#/components/schemas/NetworkSecurityPerimeterProperties'
          description: The network security perimeter properties
          x-ms-client-flatten: true
      allOf:
      - $ref: '#/components/schemas/SecurityPerimeterTrackedResource'
  parameters:
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
  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.