PUT
/
citizen
/
{cpf}
/
ethnicity
Atualizar etnia autodeclarada
curl --request PUT \
  --url https://services.staging.app.dados.rio/rmi/v1/citizen/{cpf}/ethnicity \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "valor": "<string>"
}'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cpf
string
required

Número do CPF

Body

application/json

Etnia autodeclarada

The body is of type object.

Response

200
application/json

Etnia atualizada com sucesso

The response is of type object.