---
title: "POST /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe"
method: POST
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe"
tags: ["ValidateProbe"]
---

# POST /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe

`POST /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/validateProbe`

Check if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the delivery of dynamic content via the CDN endpoint. This path is relative to the origin path specified in the endpoint configuration.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- ValidateProbeInput — Input of the validate probe API.
  - `probeURL` string, required — The probe URL to validate.

## Response `200`

OK. The request has succeeded.

- ValidateProbeOutput — Output of the validate probe API.
  - `isValid` boolean — Indicates whether the probe URL is accepted or not.
  - `errorCode` string — Specifies the error code when the probe url is not accepted.
  - `message` string — The detailed error message describing why the probe URL is not accepted.

## Other responses

- `default` — CDN error response describing why the operation failed.

---

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