Aracılığıyla paylaş


Test Cases - Delete

Test çalışmalarını silin.

DELETE https://dev.azure.com/{organization}/{project}/_apis/testplan/testcases/{testCaseId}?api-version=7.1-preview.1

URI Parametreleri

Name İçinde Gerekli Tür Description
organization
path True

string

Azure DevOps kuruluşunun adı.

project
path True

string

Proje Kimliği veya proje adı

testCaseId
path True

integer

int32

Silinecek test çalışması kimliği.

api-version
query True

string

Kullanılacak API'nin sürümü. Bu, api'nin bu sürümünü kullanmak için '7.1-preview.1' olarak ayarlanmalıdır.

Yanıtlar

Name Tür Description
200 OK

başarılı işlem

Güvenlik

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

Name Description
vso.test_write Test planlarını, çalışmalarını, sonuçlarını ve test yönetimiyle ilgili diğer yapıtları okuma, oluşturma ve güncelleştirme olanağı sağlar.

Örnekler

Delete a test case

Sample Request

DELETE https://dev.azure.com/{organization}/{project}/_apis/testplan/testcases/{testCaseId}?api-version=7.1-preview.1

Sample Response