---
title: "Verify the git credential"
method: POST
path: "/kapis/resources.kubesphere.io/v1alpha2/git/verify"
tags: ["Advanced Operations"]
deprecated: true
---

# Verify the git credential

`POST /kapis/resources.kubesphere.io/v1alpha2/git/verify`

> **Deprecated.**

## Request body

- GitAuthInfo
  - `remoteUrl` string, required — git server url
  - `secretRef` V1SecretReference — SecretReference represents a Secret Reference. It has enough information to retrieve secret in any namespace
    - `name` string — name is unique within a namespace to reference a secret resource.
    - `namespace` string — namespace defines the space within which the secret name must be unique.

## Response `200`

ok

- ErrorsError
  - `message` string, required — error message

---

[API](https://skmtc.net/kubesphere/apis/ks-api.md) · [All operations](https://skmtc.net/kubesphere/apis/ks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kubesphere/ks-api/revisions/0451c8cec9b1/schema)
