citizen
Atualizar etnia autodeclarada
Changed onAtualiza 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
Response
Etnia atualizada com sucesso
Changes
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
BearerAuthwas added to the API - info
added the non-success response with the status
- info
added the non-success response with the status
- info