Skip to main content
PUT
Update Label

JSON Request Example


📝 Field Requirements


💡 Notes

  • The label name must remain unique within the workspace
  • You can update just the name, just the color, or both fields
  • Updating a label does not affect contacts already tagged with this label

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace
string<uuid>
required

ID of the workspace.

label
integer
required

ID of the label.

Body

application/json
name
string
required

New label name (unique per workspace).

Maximum string length: 255
color
string | null

Hex color code (e.g., #FF5733). Optional.

Maximum string length: 7
Example:

"#00AA00"

Response

status
integer
required
Example:

200

message
string
required
Example:

"Resource updated successfully."

data
object
required

Updated resource data.