Skip to main content
PATCH

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <credential>, where the credential is either:

  • an API key (sk_…), generated by an organization admin in Settings, for scripts and automation;
  • an access token from tth auth login (the TalkToHumans CLI), which any member of the workspace can use.

Both resolve to the same organization and user. A login token acts in the user's workspace: one with no workspace yet returns 403 workspace_setup_required, and one in several workspaces returns 403 forbidden (use an API key instead).

Path Parameters

tag_id
string
required

Tag ID returned by GET /v1/tags.

Body

application/json
name
string

New name, unique among contact or company tags.

Minimum string length: 1
color
enum<string>
Available options:
green,
orange,
blue,
red,
purple,
yellow,
pink,
grey

Response

Tag updated.

data
object
required