This call deletes a project from the Seven Bridges Platform. It can only be successfully made if you have admin status for the project.
Deleting a project completely erases the project and any of its related data from the Seven Bridges Platform.
Referring to your project
project_owneris always case-sensitive, and
projectis not the project's name but its short name. For full details of identifying objects using the API, please see the API Overview
DELETE /v2/projects/RFranklin/my-project HTTP/1.1 Host: api.sbgenomics.com X-SBG-Auth-Token: 3259c50e1ac5426ea8f1273259740f74
curl -s -H "X-SBG-Auth-Token: 6282d5e2121d43e7900e9d52b15845e7" -H "content-type: application/json" -X DELETE -H "X-SBG-Auth-Token: ce7ae5ab85e946599298e88a3430fba0" 'http://api.sbgenomics.com//v2/projects/RFranklin/my-project'
from sevenbridges import Api api = Api(url='https://api.sbgenomics.com/v2', token='3259c50e1ac5426ea8f1273259740f74') project = api.projects.get(id='RFranklin/my-project') # send DELETE request to SB API project.delete()
Your Seven Bridges Platform authentication token.
The short name of the project you are deleting.
The owner of the project you are deleting.