aboutsummaryrefslogtreecommitdiffstats
path: root/src/onapsdk/aai/business/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/onapsdk/aai/business/project.py')
-rw-r--r--src/onapsdk/aai/business/project.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/onapsdk/aai/business/project.py b/src/onapsdk/aai/business/project.py
index 989444a..fcab0e8 100644
--- a/src/onapsdk/aai/business/project.py
+++ b/src/onapsdk/aai/business/project.py
@@ -121,3 +121,11 @@ class Project(AaiResource):
f"Get {name} project",
url)
return cls(response["project-name"], response["resource-version"])
+
+ def delete(self) -> None:
+ """Delete project."""
+ self.send_message(
+ "DELETE",
+ "Delete project",
+ f"{self.url}?resource-version={self.resource_version}"
+ )