---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts"
tags: ["DeploymentScripts"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts

`GET /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deploymentScripts`

Lists all deployment scripts for a given subscription.

## Path parameters

- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK -- Returns a list of deployment scripts.

- DeploymentScriptListResult — List of deployment scripts.
  - `value` DeploymentScript[] — An array of deployment scripts.
    - `id` string — String Id used to locate any resource on Azure.
    - `name` string — Name of this resource.
    - `type` string — Type of this resource.
  - `nextLink` string — The URL to use for getting the next set of results.

## Other responses

- `default` — Error response describing why the operation failed.

## Changes

- **2025-06-04** (2019-10-01-preview) `6d7ed28b7311` — 2 breaking
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/resources-microsoft-resources-deploymentscripts/changes/subscriptions/:subscriptionId/providers/Microsoft.Resources/deploymentScripts/get.md)

---

[API](https://skmtc.dev/azure/apis/resources-microsoft-resources-deploymentscripts.md) · [All operations](https://skmtc.dev/azure/apis/resources-microsoft-resources-deploymentscripts/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/resources-microsoft-resources-deploymentscripts/revisions/6d7ed28b7311/schema)
