cURL
curl --request POST \ --url https://services.pref.rio/rmi/v1/phone/{phone_number}/opt-out \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "channel": "<string>", "reason": "<string>" } '
{ "status": "<string>" }
Realiza opt-out para parar de receber notificações do chatbot
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Número do telefone
Dados do opt-out
Opt-out realizado com sucesso