deleteDevEnvironment method
Deletes a Dev Environment.
Parameter id :
The system-generated unique ID of the Dev Environment you want to delete.
To retrieve a list of Dev Environment IDs, use ListDevEnvironments.
Parameter projectName :
The name of the project in the space.
Parameter spaceName :
The name of the space.
Implementation
Future<DeleteDevEnvironmentResponse> deleteDevEnvironment({
required String id,
required String projectName,
required String spaceName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/spaces/${Uri.encodeComponent(spaceName)}/projects/${Uri.encodeComponent(projectName)}/devEnvironments/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return DeleteDevEnvironmentResponse.fromJson(response);
}