workspace
Remove a repository label from a team
Changed ondelete/workspaces/{workspaceSlug}/teams/{teamId}/labels/{labelId}
Request
- Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
- URL: /workspaces/{workspaceSlug}/teams/{teamId}/labels/{labelId}
- Auth: HTTP bearer
Path parameters
workspaceSlugstring required
Workspace slug
teamIdinteger required
labelIdinteger required
Response
OK
Example response
{
"labels": [
{
"color": "d73a4a"
}
],
"repositories": [
{
"labels": [
{
"color": "d73a4a"
}
]
}
]
}Changes
- breaking
for the
pathrequest parameterworkspaceSlug, the minLength was increased from0to3 - warning
for the
pathrequest parameterworkspaceSlug, the maxLength was set to51 - warning
changed the pattern of the
pathrequest parameterworkspaceSlugfrom^[a-z0-9][a-z0-9-]{2,50}$to^(?!.*--)[a-z0-9][a-z0-9-]{1,49}[a-z0-9]$
- breaking
- info
added the required property
to the response with the status
- info