---
title: "Validate Cloud Credential"
method: POST
path: "/api/v1/cloud-credentials/{credential_id}/validate"
tags: ["cloud-credentials"]
---

# Validate Cloud Credential

`POST /api/v1/cloud-credentials/{credential_id}/validate`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/cloud-credentials/{credential_id}/validate`
- Auth: none declared

Validate a cloud credential by testing it against the provider's API.

This performs a lightweight API call to verify the credentials work.

## Path parameters

- `credential_id` string, uuid, required

## Response `200`

Successful Response

- CloudCredentialValidationResponse: Response from credential validation.
  - `id` string, uuid, required
  - `is_valid` boolean, required
  - `validation_error` string, nullable
  - `validated_at` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
