DeleteProjectLabel
Deletes a repository label.
Try it now
Test
RAM authorization
Request syntax
DELETE /api/v4/projects/labels/{labelId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| labelId |
string |
Yes |
The unique identifier of the label. |
54e2699e538b4ba985177d6eb4d16cee |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| organizationId |
string |
Yes |
The organization ID. This ID is part of the URL used to access Alibaba Cloud DevOps. For example, in |
5ebbc0228123212b59xxxxx |
| accessToken |
string |
No |
The personal access token. This parameter is not required if you use an Alibaba Cloud AccessKey pair or Security Token Service (STS) for authentication. |
f0b1e61db5961df5975a93f9129d2513 |
| repositoryIdentity |
string |
Yes |
The ID or full path of the repository. |
2835387 或 codeup/codeup-demo |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema. |
||
| requestId |
string |
The request ID. |
ASSDS-ASSASX-XSAXSA-XSAXSAXS |
| success |
boolean |
Indicates if the request succeeded. |
true |
| errorCode |
string |
The error code returned if the request fails. |
SYSTEM_UNKNOWN_ERROR |
| errorMessage |
string |
The error message returned if the request fails. |
"" |
| result |
object |
The operation result. |
|
| result |
boolean |
Indicates if the deletion succeeded. |
true |
Examples
Success response
JSON format
{
"requestId": "ASSDS-ASSASX-XSAXSA-XSAXSAXS",
"success": true,
"errorCode": "SYSTEM_UNKNOWN_ERROR",
"errorMessage": "\"\"",
"result": {
"result": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.