Azure DevOps Connector
Documentation
Version: 2
Documentation
Endpoint

Delete Project


Name

delete_project

Description

Delete an existing project within the organization. [API reference]

Related Tables

Projects

Parameters

Parameter Label Required Options Description
Id Project Id YES The ID of the project to delete.

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(200) 200 False
PluginId DT_WSTR nvarchar(200) 200 False
Status DT_WSTR nvarchar(100) 100 False
Url DT_WSTR nvarchar(2048) 2048 False
If the column you are looking for is missing, consider customizing Azure DevOps Connector.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
Id DT_WSTR nvarchar(200) 200 False The ID of the project to delete.
Required columns that you need to supply are bolded.

Examples

SSIS

Use Azure DevOps Connector in API Source component to read data or in API Destination component to read/write data:

Delete rows from Projects table using API Destination

This Endpoint belongs to Projects table, therefore you cannot work with it directly. Use this table and table-operation pair instead:

Azure DevOps
Projects
Delete
SSIS API Destination - Access table operation

ODBC application

Use these SQL queries in your ODBC application data source:

Delete project

SELECT * FROM delete_project
WHERE Id = 'abcd-1234-id'

Delete the specified project from your organization

DELETE FROM Projects WHERE Id='85kd1641-5555-49b1-9c5e-22c22a61d4c4'

delete_project endpoint belongs to Projects table(s), and can therefore be used via those table(s).

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Delete project

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM delete_project
WHERE Id = ''abcd-1234-id''';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];

Delete the specified project from your organization

DECLARE @MyQuery NVARCHAR(MAX) = 'DELETE FROM Projects WHERE Id=''85kd1641-5555-49b1-9c5e-22c22a61d4c4''';

EXEC (@MyQuery) AT [LS_TO_AZURE_DEVOPS_IN_GATEWAY];

delete_project endpoint belongs to Projects table(s), and can therefore be used via those table(s).