v1
latestOpenAPI 3.1.02026-07-261690320.7 KBAdd container label
Add a label to a container repository
post/containers/{container_repo_id}/labels
Path parameters
container_repo_idinteger required
The ID of the container repository
Request body
Example request
{
"name": "production"
}Response
The label has been added successfully
Example response
{
"label_id": 1
}