DELETE
/
apiKey
/
v2
/
test-targets
/
{testTargetId}
/
environments
/
{environmentId}
curl --request DELETE \
  --url https://app.octomind.dev/api/apiKey/v2/test-targets/{testTargetId}/environments/{environmentId} \
  --header 'X-API-Key: <api-key>'

Deletes a custom enviroment. The default environment cannot be deleted.

Authorizations

X-API-Key
string
header
required

Path Parameters

testTargetId
string
required

ID of the test target to which the test report belongs to

environmentId
string
required

ID of the environment to update

Response

200

Environment deleted successfully