File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -449,6 +449,14 @@ def get_settings(self):
449449
450450 return DSSAPIDeployerServiceSettings (self .client , self .service_id , settings )
451451
452+ def delete_version (self , version ):
453+ """
454+ Deletes a version from this service
455+ :param string version: The version to delete
456+ """
457+ self .client ._perform_empty (
458+ "DELETE" , "/api-deployer/services/%s/versions/%s" % (self .service_id , version ))
459+
452460 def delete (self ):
453461 """
454462 Deletes this service
Original file line number Diff line number Diff line change @@ -408,6 +408,14 @@ def get_settings(self):
408408
409409 return DSSProjectDeployerProjectSettings (self .client , self .project_key , settings )
410410
411+ def delete_bundle (self , bundle_id ):
412+ """
413+ Deletes a bundle from this project
414+ :param string bundle_id: The identifier of the bundle to delete
415+ """
416+ self .client ._perform_empty (
417+ "DELETE" , "/project-deployer/projects/%s/bundles/%s" % (self .project_key , bundle_id ))
418+
411419 def delete (self ):
412420 """
413421 Deletes this project
You can’t perform that action at this time.
0 commit comments