---
title: "Check status of a registry"
method: POST
path: "/registries/ping"
tags: ["registry"]
---

# Check status of a registry

`POST /registries/ping`

Check status of a registry

## Headers

- `X-Request-Id` string

## Request body

- RegistryPing
  - `id` integer, nullable — The registry ID.
  - `type` string, nullable — Type of the registry, e.g. 'harbor'.
  - `url` string, nullable — The registry URL.
  - `credential_type` string, nullable — Credential type of the registry, e.g. 'basic'.
  - `access_key` string, nullable — The registry access key.
  - `access_secret` string, nullable — The registry access secret.
  - `insecure` boolean, nullable — Whether or not the certificate will be verified when Harbor tries to access the server.
  - `ca_certificate` string, nullable — The PEM-encoded CA certificate for this registry endpoint.

## Response `200`

Success

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/cerit/apis/harbor-api.md) · [All operations](https://skmtc.dev/cerit/apis/harbor-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cerit/harbor-api/revisions/62d78801f8df/schema)
