Skip to main content
PUT
/
citizen
/
{cpf}
/
phone
Atualizar telefone autodeclarado
curl --request PUT \
  --url https://services.pref.rio/rmi/v1/citizen/{cpf}/phone \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "ddd": "<string>",
  "ddi": "<string>",
  "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

Telefone autodeclarado

ddi
string
required
valor
string
required
ddd
string

DDD é obrigatório somente quando o DDI é 55 (Brasil)

Response

Telefone autodeclarado submetido para validação com sucesso

message
string