v1

latestOpenAPI 3.1.02026-07-242200814.7 KB

Adicionar tag

post/tags

Request body

namestring required

Nome da tag.

belongsinteger required

Pertence à: 1: oportunidade, 2: pessoa, 3: empresa.

colorstring

Cor da tag: vermelho: "danger", verde: "primary", azul: "success", amarelo: "warning" , cinza: "default".

activeboolean

Status ativo/inativo da tag: false: tag inativa, true: tag ativa.

Response

201

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Created",
  "data": {
    "id": 748,
    "account_id": 748,
    "user_id": 2,
    "name": "Aluguel",
    "color": "danger",
    "belongs": 1
  }
}