v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Update container label

Update a label for a container repository

post/containers/{container_repo_id}/labels/{label_id}

Path parameters

container_repo_idinteger required

The container 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
}