PUT
/
citizen
/
{cpf}
/
phone
Atualizar telefone autodeclarado
curl --request PUT \
  --url https://services.staging.app.dados.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

The body is of type object.

Response

200
application/json

OK

The response is of type object.