Delete a project

This call deletes a project from the Seven Bridges Platform. It can only be successfully made if you have admin status for the project.

❗️

Warning

Deleting a project completely erases the project and any of its related data from the Seven Bridges Platform.

Request

https://api.sbgenomics.com/v2/projects/{project_owner}/{project}
https://eu-api.sbgenomics.com/v2/projects/{project_owner}/{project}

👍

Referring to your project

Note that project_owner is always case-sensitive, and project is not the project's name but its short name. For full details of identifying objects using the API, please see the API Overview

Example request

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()

Header Fields

Name

Description

X-SBG-Auth-Token
required

Your Seven Bridges Platform authentication token.

Path parameters

Name

Description

project

The short name of the project you are deleting.

project_owner

The owner of the project you are deleting.

Response

See a list of Seven Bridges Platform-specific response codes that may be contained in the body of the response.