Pular para o conteúdo principal
POST
Criar ou editar tag

Autorizações

Authorization
string
header
obrigatório

Chave criada em Meu Perfil → API Keys. Envie Authorization: Bearer sk_live_….

Cabeçalhos

Idempotency-Key
string

Chave única desta alteração (ex.: um UUID). Repetir a chamada com a mesma chave devolve a mesma resposta, sem duplicar.

Maximum string length: 255

Parâmetros de caminho

tag_id
string
obrigatório
Pattern: ^ctg_[a-z0-9]{16}$
Exemplo:

"ctg_4f8k2m9q1x7c3v5b"

Corpo

application/json
name
string
obrigatório
Required string length: 1 - 40
color
string
Pattern: ^#[0-9a-fA-F]{6}$

Resposta

Sucesso.

id
string
obrigatório
name
string
obrigatório
color
string
obrigatório
created
boolean
obrigatório
dashboard_url
string
obrigatório
{key}
any