---
title: "Check if a deployment is possible"
method: POST
path: "/environments/{envId}/apis/{apiId}/deployments/_verify"
tags: ["API Subscriptions"]
---

# Check if a deployment is possible

`POST /environments/{envId}/apis/{apiId}/deployments/_verify`

Check if a deployment is possible

Check if an API deployment is possible given the API's definition and license used by the organization.

## Response `200`

Verification successfully performed.

- VerifyApiDeploymentResponse
  - `ok` boolean — Indicates whether the deployment can be done or not.
  - `reason` string — An optional reason giving details about the result.

## Other responses

- `default` — Generic error response

---

[API](https://skmtc.net/gravitee-io/apis/gravitee-io-apim-management-api-apis.md) · [All operations](https://skmtc.net/gravitee-io/apis/gravitee-io-apim-management-api-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gravitee-io/gravitee-io-apim-management-api-apis/revisions/aef12fc964d5/schema)
