deleteProject method
Deletes a project in a space.
Parameter name :
The name of the project in the space. To retrieve a list of project names,
use ListProjects.
Parameter spaceName :
The name of the space.
Implementation
Future<DeleteProjectResponse> deleteProject({
required String name,
required String spaceName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/spaces/${Uri.encodeComponent(spaceName)}/projects/${Uri.encodeComponent(name)}',
exceptionFnMap: _exceptionFns,
);
return DeleteProjectResponse.fromJson(response);
}