---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts"
tags: ["CognitiveServicesAccounts"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts

`GET /subscriptions/{subscriptionId}/providers/Microsoft.CognitiveServices/deletedAccounts`

Returns all the resources of a particular type belonging to a subscription.

## Parameters

- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Response `200`

The request has succeeded.

- AccountListResult — The list of cognitive services accounts operation response.
  - `nextLink` string — The link used to get the next page of accounts.
  - `value` Account[] — Gets the list of Cognitive Services accounts and their properties. — unresolved $ref

## Other responses

- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-microsoft-cognitiveservices.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-microsoft-cognitiveservices/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-microsoft-cognitiveservices/revisions/691c4877e0b8/schema)
