Update a Label
put
/api/v2/labels/{id}/
Make a PUT or PATCH request to this resource to update this label. The following fields may be modified:
name: Name of this label. (string, required)organization: Organization this label belongs to. (id, required)
For a PUT request, include all fields in the request.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : Label
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
id:
integer
Title:
IDRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
organization(required):
integer
Title:
OrganizationOrganization this label belongs to. - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true
Response
Supported Media Types
- application/json
200 Response
Root Schema : Label
Type:
Show Source
object-
created:
string
Title:
CreatedRead Only:true -
id:
integer
Title:
IDRead Only:true -
modified:
string
Title:
ModifiedRead Only:true -
name(required):
string
Title:
NameMinimum Length:1Maximum Length:512 -
organization(required):
integer
Title:
OrganizationOrganization this label belongs to. - related: string
-
summary_fields:
string
Title:
Summary fieldsRead Only:true -
type:
string
Title:
TypeRead Only:true -
url:
string
Title:
UrlRead Only:true