Skip to main content
PUT
/
citizen
/
{cpf}
/
address
Atualizar endereço autodeclarado
curl --request PUT \
  --url https://services.pref.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

bairro
string
required
cep
string
required
estado
string
required
logradouro
string
required
municipio
string
required
numero
string
required
complemento
string
tipo_logradouro
string

Response

Endereço autodeclarado atualizado com sucesso

message
string