Avisi cloud logo
Environments

Count environments in an organisation.

GET
/api/v1/orgs/{organisationSlug}/environments/count

Path Parameters

organisationSlugRequiredstring
Pattern: "^[a-z0-9-]+$"

Response Body

Request was successfully processed. The response body contains the requested data.

TypeScript Definitions

Use the response body type in TypeScript.

countinteger
Format: "int64"
curl -X GET "https://api.avisi.cloud/api/v1/orgs/string/environments/count"
{
  "count": 0
}