DoesEntAppEnvExists

Checks whether an environment with the specific usage package exists. A user can create only a single environment from a specific usage package.

Request URL

GET https://use.cloudshare.com/Api/v1/Env/DoesEndAppEnvExisst? usagePackageApiId=<pkg_id>&campaignFilter=<camp_f>&prototypeFilter=<proto_f>&resourcePackageFIlter=<respkg>&timestamp=<time_t>&UserApiId=<id>&HMAC=<signature>

Parameters

usagePackageApiId The id for the usage package to check.
Example: PVSV2TWQQ2BA
campaignFilter
optional
A filter string for the campaign name, to be applied to the search.
Example: MyCampaign1
prototypeFilter
optional
A filter string for the prototype package name, to be applied to the search.
Example: MyPrototype
resourcePackageFilter
optional
A filter string for the resource package name, to be applied to the search.
Example: AllowSuspendEnvs_0D_1h

Response example

{
    "IsEnvExists": false
}

The result indicates true or false.


Code sample