PUT
Atualizar tag

Authorizations

Authorization
string
header
required

HTTP Basic com o token como usuário e o secret como senha: curl -u dpz_tk_…:dpz_sk_…. Crie a chave em https://despezzas.com/settings/api-keys.

Path Parameters

id
string
required

Identificador do recurso.

Example:

"8f1c2a34-5b6d-4e7f-8a9b-0c1d2e3f4a5b"

Body

application/json

Todos opcionais.

color
string

Cor (hex).

Example:

"#0EA5E9"

name
string

Nome.

Example:

"Viagem 2026"

Response

Sucesso.

color
string
required

Cor (hex).

Example:

"#0EA5E9"

id
string
required

Id.

Example:

"e2f3a4b5-c6d7-4e8f-9a0b-1c2d3e4f5a6b"

name
string
required

Nome.

Example:

"Viagem"

createdAt
string<date-time>

Criação.

Example:

"2026-09-01T09:00:00.000Z"

profile_id
string | null

Perfil de Acesso / empresa.

Example:

null

updatedAt
string<date-time>

Última alteração.

Example:

"2026-09-15T14:32:10.000Z"

user_id
string | null

Dono.

Example:

"0d6b923c-3392-424e-a152-2ee32474e8d5"