---
title: "Test the OIDC endpoint."
method: POST
path: "/system/oidc/ping"
tags: ["oidc"]
---

# Test the OIDC endpoint.

`POST /system/oidc/ping`

Test the OIDC endpoint, the setting of the endpoint is provided in the request.  This API can only be called by system admin.

## Headers

- `X-Request-Id` string

## Request body

- object
  - `url` string — The URL of OIDC endpoint to be tested.
  - `verify_cert` boolean — Whether the certificate should be verified

## Response `200`

Success

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden

---

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