---
title: "ValidateAccess validates access to a repository with given parameters"
method: POST
path: "/api/v1/repositories/{repo}/validate"
tags: ["RepositoryService"]
---

# ValidateAccess validates access to a repository with given parameters

`POST /api/v1/repositories/{repo}/validate`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/devtron-labs/apis/consolidate-services/docs/api/v1/repositories/:repo/validate/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `repo` string, required

## Request body

- string

## Response `200`

(empty)

- RepositoryRepoResponse

---

[API](https://skmtc.dev/devtron-labs/apis/consolidate-services.md) - [All operations](https://skmtc.dev/devtron-labs/apis/consolidate-services/llms.txt) - [OpenAPI document](https://skmtc.dev/devtron-labs/apis/consolidate-services/revisions/778bfc291d1e?raw)
