Skip to main content
PUT
/
workspaces
/
{workspace}
/
tags
/
{tag}
Update Tag
curl --request PUT \
  --url https://lancepilot.com/api/v3/workspaces/{workspace}/tags/{tag} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Premium VIP"
}
'
{
  "status": 200,
  "message": "Resource updated successfully.",
  "data": {}
}

JSON Request Example

{
  "name": "Premium VIP"
}

📝 Field Requirements

FieldTypeRequiredNotes
namestring (max 255)YesNew tag name (must be unique within the workspace).

💡 Notes

  • The tag name must remain unique within the workspace
  • Updating a tag does not affect contacts already tagged with this tag

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.

tag
integer
required

ID of the tag.

Body

application/json
name
string
required

New tag name (unique per workspace).

Maximum string length: 255

Response

status
integer
required
Example:

200

message
string
required
Example:

"Resource updated successfully."

data
object
required

Updated resource data.