v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Update code repo label

Update a label for a code repository

post/repositories/code/{code_repo_id}/labels/{label_id}

Path parameters

code_repo_idinteger required

The repository ID

label_idinteger required

The label ID

Request body

namestring required

The name of the label

Example request

{
  "name": "production"
}

Response

The label has been updated successfully

successinteger

The integer 1 indicating success

Example response

{
  "success": 1
}