---
title: "Test Auth"
method: POST
path: "/v1/secrets/test-auth"
tags: ["secrets"]
---

# Test Auth

`POST /v1/secrets/test-auth`

## Request

- Base URL: `https://api.cybret.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.cybret.ai/v1/secrets/test-auth`
- Auth: HTTP bearer

## Request body

- TestAuthRequest
  - `target_id` string, required
  - `secret_id` string, nullable
  - `profile_id` string, nullable
  - `expected_status` integer
  - `verify_url` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cybret/apis/api-scanner-control-plane.md) · [All operations](https://skmtc.dev/cybret/apis/api-scanner-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/cybret/apis/api-scanner-control-plane/revisions/4c9b522246af?raw)
