Skip to main content

DELETE Remove Environment

This API removes an environment linked to the environment identifier for any project

Updated over 3 weeks ago

{{apiUrl}}/api/v1/properties/environment/{{environmentIdentifier}}

HEADERS


Authorization

<vansahConnectToken>

Generate a Token from Vansah

Path Parameter


  • environmentIdentifier (String, Required): The unique identifier (GUID) of the environment to be removed.

Request Body Parameter


project (Object, Required): Contains project-related details.

  • key (String, Required): Workspace project key (e.g., "DEMO").

Request JSON Example


{

"project": {

"key": "{{projectKey}}" // Required when using Vansah connect API token

}

}

Response JSON Example


{

"success": true,

"message": "Environment is Removed successfully",

"data": {

"identifier": "f94d0e7d-1edb-11ed-bdf2-ae827922bf87",

"name": "UAT"

}

}

Did this answer your question?