citizen

Atualizar etnia autodeclarada

Changed on

Atualiza ou cria a etnia autodeclarada de um cidadão por CPF. Apenas o campo de etnia é atualizado. O valor deve ser uma das opções válidas retornadas pelo endpoint /citizen/ethnicity/options.

put/citizen/{cpf}/ethnicity

Request

  • Base URL: http://localhost:8080/v1
  • URL: http://localhost:8080/v1/citizen/{cpf}/ethnicity
  • Auth: API key in header Authorization

Path parameters

cpfstring required

Número do CPF

Request body

valorstring required

Response

Etnia atualizada com sucesso

messagestring

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      the endpoint scheme security BearerAuth was added to the API

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status