Azure Networking Services Custom Ip Prefixes API

The CustomIpPrefixes API from Azure Networking Services — 3 operation(s) for customipprefixes.

GitHub OpenAPI

Operations 6

GET /subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes Custom IP prefixes list all #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes Custom IP prefixes list #
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName} Custom IP prefixes get #
PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName} Custom IP prefixes create or update #
PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName} Custom IP prefixes update tags #
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName} Custom IP prefixes 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-customipprefixes-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-customipprefixes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: WebApplicationFirewallManagement Custom Ip Prefixes API
  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: CustomIpPrefixes
paths:
  /subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes:
    get:
      operationId: CustomIPPrefixes_ListAll
      tags:
      - CustomIpPrefixes
      description: Gets all the custom IP prefixes in a subscription.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomIpPrefixListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Custom IP prefixes list all
      x-summary-source: derived
  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes:
    get:
      operationId: CustomIPPrefixes_List
      tags:
      - CustomIpPrefixes
      description: Gets all custom IP prefixes in a resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomIpPrefixListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Custom IP prefixes list
      x-summary-source: derived
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}
  : get:
      operationId: CustomIPPrefixes_Get
      tags:
      - CustomIpPrefixes
      description: Gets the specified custom IP prefix in a specified resource group.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: customIpPrefixName
        in: path
        description: The name of the custom IP prefix.
        required: true
        schema:
          type: string
      - name: $expand
        in: query
        description: Expands referenced resources.
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomIpPrefix'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      summary: Custom IP prefixes get
      x-summary-source: derived
    put:
      operationId: CustomIPPrefixes_CreateOrUpdate
      tags:
      - CustomIpPrefixes
      description: Creates or updates a custom IP prefix.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: customIpPrefixName
        in: path
        description: The name of the custom IP prefix.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Resource 'CustomIpPrefix' update operation succeeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomIpPrefix'
        '201':
          description: Resource 'CustomIpPrefix' create operation succeeded
          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
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomIpPrefix'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: location
        final-state-schema: '#/definitions/CustomIpPrefix'
      x-ms-long-running-operation: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomIpPrefix'
        description: Parameters supplied to the create or update custom IP prefix operation.
        required: true
      summary: Custom IP prefixes create or update
      x-summary-source: derived
    patch:
      operationId: CustomIPPrefixes_UpdateTags
      tags:
      - CustomIpPrefixes
      description: Updates custom IP prefix tags.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: customIpPrefixName
        in: path
        description: The name of the custom IP prefix.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Azure operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomIpPrefix'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CloudError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagsObject'
        description: Parameters supplied to update custom IP prefix tags.
        required: true
      summary: Custom IP prefixes update tags
      x-summary-source: derived
    delete:
      operationId: CustomIPPrefixes_Delete
      tags:
      - CustomIpPrefixes
      description: Deletes the specified custom IP prefix.
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - name: customIpPrefixName
        in: path
        description: The name of the custom IP prefix.
        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: '#/components/schemas/CloudError'
      x-ms-long-running-operation-options:
        final-state-via: location
      x-ms-long-running-operation: true
      summary: Custom IP prefixes delete
      x-summary-source: derived
components:
  schemas:
    CustomIpPrefixListResult:
      type: object
      description: The response of a CustomIpPrefix list operation.
      properties:
        value:
          type: array
          description: The CustomIpPrefix items on this page
          items:
            $ref: '#/components/schemas/CustomIpPrefix'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
    Geo:
      type: string
      description: The Geo for CIDR advertising. Should be an Geo code.
      enum:
      - GLOBAL
      - AFRI
      - APAC
      - EURO
      - LATAM
      - NAM
      - ME
      - OCEANIA
      - AQ
      x-ms-enum:
        name: Geo
        modelAsString: true
        values:
        - name: GLOBAL
          value: GLOBAL
          description: GLOBAL
        - name: AFRI
          value: AFRI
          description: AFRI
        - name: APAC
          value: APAC
          description: APAC
        - name: EURO
          value: EURO
          description: EURO
        - name: LATAM
          value: LATAM
          description: LATAM
        - name: NAM
          value: NAM
          description: NAM
        - name: ME
          value: ME
          description: ME
        - name: OCEANIA
          value: OCEANIA
          description: OCEANIA
        - name: AQ
          value: AQ
          description: AQ
    CustomIpPrefixPropertiesFormat:
      type: object
      description: Custom IP prefix properties.
      properties:
        asn:
          type: string
          description: The ASN for CIDR advertising. Should be an integer as string.
        cidr:
          type: string
          description: The prefix range in CIDR notation. Should include the start address and the prefix length.
        signedMessage:
          type: string
          description: Signed message for WAN validation.
        authorizationMessage:
          type: string
          description: Authorization message for WAN validation.
        customIpPrefixParent:
          $ref: '#/components/schemas/SubResource'
          description: The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
        childCustomIpPrefixes:
          type: array
          description: The list of all Children for IPv6 /48 CustomIpPrefix.
          items:
            $ref: '#/components/schemas/SubResource'
          readOnly: true
        commissionedState:
          $ref: '#/components/schemas/CommissionedState'
          description: The commissioned state of the Custom IP Prefix.
        expressRouteAdvertise:
          type: boolean
          description: Whether to do express route advertise.
        geo:
          $ref: '#/components/schemas/Geo'
          description: The Geo for CIDR advertising. Should be an Geo code.
        noInternetAdvertise:
          type: boolean
          description: Whether to Advertise the range to Internet.
        prefixType:
          $ref: '#/components/schemas/CustomIpPrefixType'
          description: Type of custom IP prefix. Should be Singular, Parent, or Child.
        publicIpPrefixes:
          type: array
          description: The list of all referenced PublicIpPrefixes.
          items:
            $ref: '#/components/schemas/SubResource'
          readOnly: true
        resourceGuid:
          type: string
          description: The resource GUID property of the custom IP prefix resource.
          readOnly: true
        failedReason:
          type: string
          description: The reason why resource is in failed state.
          readOnly: true
        provisioningState:
          $ref: '#/components/schemas/ProvisioningState'
          description: The provisioning state of the custom IP prefix resource.
          readOnly: true
    CommissionedState:
      type: string
      description: The commissioned state of the Custom IP Prefix.
      enum:
      - Provisioning
      - Provisioned
      - Commissioning
      - CommissionedNoInternetAdvertise
      - Commissioned
      - Decommissioning
      - Deprovisioning
      - Deprovisioned
      x-ms-enum:
        name: CommissionedState
        modelAsString: true
        values:
        - name: Provisioning
          value: Provisioning
          description: Provisioning
        - name: Provisioned
          value: Provisioned
          description: Provisioned
        - name: Commissioning
          value: Commissioning
          description: Commissioning
        - name: CommissionedNoInternetAdvertise
          value: CommissionedNoInternetAdvertise
          description: CommissionedNoInternetAdvertise
        - name: Commissioned
          value: Commissioned
          description: Commissioned
        - name: Decommissioning
          value: Decommissioning
          description: Decommissioning
        - name: Deprovisioning
          value: Deprovisioning
          description: Deprovisioning
        - name: Deprovisioned
          value: Deprovisioned
          description: Deprovisioned
    SubResource:
      type: object
      description: Reference to another subresource.
      properties:
        id:
          type: string
          description: Resource ID.
    Resource:
      type: object
      description: Common resource representation.
      properties:
        id:
          type: string
          description: Resource ID.
        name:
          type: string
          description: Resource name.
          readOnly: true
        type:
          type: string
          description: Resource type.
          readOnly: true
        location:
          type: string
          description: Resource location.
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
      x-ms-azure-resource: true
    CloudError:
      type: object
      description: An error response from the service.
      properties:
        error:
          $ref: '#/components/schemas/CloudErrorBody'
          description: Cloud error body.
      x-ms-external: true
    TagsObject:
      type: object
      description: Tags object for patch operations.
      properties:
        tags:
          type: object
          description: Resource tags.
          additionalProperties:
            type: string
    ProvisioningState:
      type: string
      description: Provisioning states of a resource.
      enum:
      - Failed
      - Succeeded
      - Canceled
      - Creating
      - Updating
      - Deleting
      x-ms-enum:
        name: ProvisioningState
        modelAsString: true
        values:
        - name: Failed
          value: Failed
          description: Failed
        - name: Succeeded
          value: Succeeded
          description: Succeeded
        - name: Canceled
          value: Canceled
          description: Canceled
        - name: Creating
          value: Creating
          description: Creating
        - name: Updating
          value: Updating
          description: Updating
        - name: Deleting
          value: Deleting
          description: Deleting
    ExtendedLocation:
      type: object
      description: ExtendedLocation complex type.
      properties:
        name:
          type: string
          description: The name of the extended location.
        type:
          $ref: '#/components/schemas/ExtendedLocationTypes'
          description: The type of the extended location.
    CustomIpPrefixType:
      type: string
      description: Type of custom IP prefix. Should be Singular, Parent, or Child.
      enum:
      - Singular
      - Parent
      - Child
      x-ms-enum:
        name: CustomIpPrefixType
        modelAsString: true
        values:
        - name: Singular
          value: Singular
          description: Singular
        - name: Parent
          value: Parent
          description: Parent
        - name: Child
          value: Child
          description: Child
    CustomIpPrefix:
      type: object
      description: Custom IP prefix resource.
      properties:
        properties:
          $ref: '#/components/schemas/CustomIpPrefixPropertiesFormat'
          description: Custom IP prefix properties.
          x-ms-client-flatten: true
        extendedLocation:
          $ref: '#/components/schemas/ExtendedLocation'
          description: The extended location of the custom IP prefix.
        etag:
          type: string
          description: A unique read-only string that changes whenever the resource is updated.
          readOnly: true
        zones:
          type: array
          description: A list of availability zones denoting where the resource needs to come from.
          items:
            type: string
      allOf:
      - $ref: '#/components/schemas/Resource'
  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.