---
title: "Queries a list of RejectedCertificate items."
method: GET
path: "/dcl/pki/rejected-certificates"
tags: ["Query"]
---

# Queries a list of RejectedCertificate items.

`GET /dcl/pki/rejected-certificates`

## Request

- The document declares no server URL.
- Auth: none declared

## Query parameters

- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object
  - `rejectedCertificate` object[]
    - `subject` string
    - `subjectKeyId` string
    - `certs` object[]
      - `pemCert` string
      - `serialNumber` string
      - `issuer` string
      - `authorityKeyId` string
      - `rootSubject` string
      - `rootSubjectKeyId` string
      - `isRoot` boolean
      - `owner` string
      - `subject` string
      - `subjectKeyId` string
      - `approvals` object[]
        - `address` string
        - `time` string, int64
        - `info` string
        - `schemaVersion` integer
      - `subjectAsText` string
      - `rejects` object[]
        - `address` string
        - `time` string, int64
        - `info` string
        - `schemaVersion` integer
      - `vid` integer
      - `certificateType` 'DeviceAttestationPKI' | 'OperationalPKI' | 'VIDSignerPKI'
      - `schemaVersion` integer
    - `schemaVersion` integer
  - `pagination` object: PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest. message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }
    - `next_key` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response.

## Changes

- **2022-05-06** `ed97b0876733`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/zigbee-alliance/apis/distributed-compliance-ledger-rest-and-grpc-gateway-docs/changes/dcl/pki/rejected-certificates/get.md)

---

[API](https://skmtc.dev/zigbee-alliance/apis/distributed-compliance-ledger-rest-and-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/zigbee-alliance/apis/distributed-compliance-ledger-rest-and-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/zigbee-alliance/apis/distributed-compliance-ledger-rest-and-grpc-gateway-docs/revisions/b5ba63ddd069?raw)
