---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility"
tags: ["PrivateLinkServices"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility`

Checks whether the subscription is visible to private link service.

## Path parameters

- `location` string, required

## Parameters

- `./network.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `./network.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Request body

- CheckPrivateLinkServiceVisibilityRequest — Request body of the CheckPrivateLinkServiceVisibility API service call.
  - `privateLinkServiceAlias` string — The alias of the private link service.

## Response `200`

Request successful. Returns whether the subscription is visible to private link service.

- PrivateLinkServiceVisibility — Response for the CheckPrivateLinkServiceVisibility API service call.
  - `visible` boolean — Private Link Service Visibility (True/False).

## Other responses

- `202` — Accepted and the operation will complete asynchronously.

## Changes

- **2020-06-28** (2019-07-01) `c4ed11c107b4` — 1 info
  - added the success response with the status `202`

[Change history](https://skmtc.dev/azure/apis/networkmanagementclient-28/changes/subscriptions/:subscriptionId/providers/Microsoft.Network/locations/:location/checkPrivateLinkServiceVisibility/post.md)

---

[API](https://skmtc.dev/azure/apis/networkmanagementclient-28.md) · [All operations](https://skmtc.dev/azure/apis/networkmanagementclient-28/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/networkmanagementclient-28/revisions/c4ed11c107b4/schema)
