---
title: "Validate credential by provider or ID"
method: GET
path: "/api/projects/{projectId}/credentials/{provider}/validate"
tags: ["Credentials"]
---

# Validate credential by provider or ID

`GET /api/projects/{projectId}/credentials/{provider}/validate`

Validate credential by provider or ID. Returns the requested resource or collection for the authenticated caller.

## Path parameters

- `projectId` string, required
- `provider` string, required

## Response `200`

Validation result

- CredentialValidationResult — credential Validation Result API object.
  - `valid` boolean, required — Whether the value passed validation.
  - `error` string — Error message when the operation failed.
  - `provider` string — Provider name or key.

---

[API](https://skmtc.net/ibuildthecloud/apis/discobot-server-api.md) · [All operations](https://skmtc.net/ibuildthecloud/apis/discobot-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ibuildthecloud/discobot-server-api/versions/4de3fcd6be56/schema)
