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ı |
|
test
|
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
Tür:
oauth2
Akış:
accessCode
Yetkilendirme URL’si:
https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Belirteç URL'si:
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
Kapsamlar
| 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
Örnek isteği
DELETE https://dev.azure.com/{organization}/{project}/_apis/testplan/testcases/{testCaseId}?api-version=7.1-preview.1