---
title: "POST /v1/{+name}:lint"
method: POST
path: "/v1/{+name}:lint"
tags: ["projects"]
---

# POST /v1/{+name}:lint

`POST /v1/{+name}:lint`

Lints the requested spec and updates the corresponding API Spec with the lint response. This lint response will be available in all subsequent Get and List Spec calls to Core service.

## Path parameters

- `name` string, required

## Request body

- GoogleCloudApihubV1LintSpecRequest — The LintSpec method's request.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/apihub.md) · [All operations](https://skmtc.dev/google/apis/apihub/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/apihub/revisions/19473c7df886/schema)
