Skip to main content
PUT
/
crm
/
assuntos
/
{idAssunto}
Atualizar assunto
curl --request PUT \
  --url https://api.tiny.com.br/public-api/v3/crm/assuntos/{idAssunto} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "idContato": 123,
  "idPessoaContato": 123,
  "descricao": "<string>",
  "idEstagio": 123
}
'
{
  "mensagem": "Ocorreram erros de validação",
  "detalhes": [
    {
      "campo": "codigo",
      "mensagem": "O campo código é obrigatório"
    }
  ]
}

Path Parameters

idAssunto
integer
required

Identificador do assunto

Body

application/json
idContato
integer | null
idPessoaContato
integer | null
descricao
string | null
idEstagio
integer | null

Response

No Content