PUT
/
citizen
/
{cpf}
/
address
Atualizar endereço autodeclarado
curl --request PUT \
  --url https://services.staging.app.dados.rio/rmi/v1/citizen/{cpf}/address \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "bairro": "<string>",
  "cep": "<string>",
  "complemento": "<string>",
  "estado": "<string>",
  "logradouro": "<string>",
  "municipio": "<string>",
  "numero": "<string>",
  "tipo_logradouro": "<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

Endereço autodeclarado

The body is of type object.

Response

200
application/json

OK

The response is of type object.