Aracılığıyla paylaş


Runs - Delete

Test çalıştırmasını kimliğine göre silin.

DELETE https://dev.azure.com/{organization}/{project}/_apis/test/runs/{runId}?api-version=7.1-preview.3

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ı

runId
path True

integer

int32

Silinecek çalıştırmanın kimliği.

api-version
query True

string

Kullanılacak API sürümü. Api'nin bu sürümünü kullanmak için bu değer '7.1-preview.3' 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 diğer test yönetimiyle ilgili yapıtları okuma, oluşturma ve güncelleştirme olanağı sağlar.

Örnekler

Sample Request

DELETE https://dev.azure.com/fabrikam/fabrikam-fiber-tfvc/_apis/test/runs/5?api-version=7.1-preview.3

Sample Response