Menghapus garis dasar berdasarkan ID. Anda hanya dapat menghapus garis dasar jika node di garis dasar tersebut tidak memiliki node induk. Anda dapat memanggil operasi UpdateBaseline untuk menghapus hubungan antara node dan node induknya.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| BaselineId |
integer |
Yes |
ID garis dasar. Anda dapat memanggil operasi ListBaselines untuk mengkueri ID tersebut. |
1234 |
| ProjectId |
integer |
Yes |
ID ruang kerja tempat garis dasar berada. Anda dapat memanggil operasi ListBaselines untuk mengkueri ID tersebut. |
10000 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| ErrorCode |
string |
The error code. |
1031203110000 |
| ErrorMessage |
string |
The error message. |
Baseline deletion failed with nodes dependent on baseline |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
boolean |
Indicates whether the deletion was successful. |
true |
| RequestId |
string |
The request ID. |
0000-ABCD-EF**** |
Contoh
Respons sukses
JSONformat
{
"Success": true,
"ErrorCode": "1031203110000",
"ErrorMessage": "Baseline deletion failed with nodes dependent on baseline",
"HttpStatusCode": 200,
"Data": true,
"RequestId": "0000-ABCD-EF****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.