---
title: "Lists all of the certificates that have been added to the specified account."
method: GET
path: "/certificates"
tags: ["Certificates"]
---

# Lists all of the certificates that have been added to the specified account.

`GET /certificates`

## Query parameters

- `$filter` string
- `$select` string
- `maxresults` integer
- `timeout` integer
- `api-version` string, required

## Headers

- `client-request-id` string, uuid
- `return-client-request-id` boolean
- `ocp-date` string, date-time-rfc1123

## Response `200`

A response containing the list of certificates.

- CertificateListResult
  - `value` Certificate[]
    - `thumbprint` string
    - `thumbprintAlgorithm` string
    - `url` string
    - `state` 'active' | 'deleting' | 'deletefailed'
    - `stateTransitionTime` string, date-time
    - `previousState` 'active' | 'deleting' | 'deletefailed'
    - `previousStateTransitionTime` string, date-time — This property is not set if the certificate is in its initial Active state.
    - `publicData` string
    - `deleteCertificateError` DeleteCertificateError
      - `code` string
      - `message` string
      - `values` NameValuePair[] — This list includes details such as the active pools and nodes referencing this certificate. However, if a large number of resources reference the certificate, the list contains only about the first hundred.
        - `name` string
        - `value` string
  - `odata.nextLink` string

## Other responses

- `default` — The error from the Batch service.

---

[API](https://skmtc.net/azure/apis/batchservice-2.md) · [All operations](https://skmtc.net/azure/apis/batchservice-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/batchservice-2/versions/dff38446805d/schema)
