cURL
curl --request POST \ --url https://services.pref.rio/rmi/v1/admin/beta/whitelist/{phone_number} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "group_id": "<string>" } '
{ "added_at": "<string>", "group_id": "<string>", "group_name": "<string>", "phone_number": "<string>" }
Adiciona um número de telefone a um grupo beta (apenas administradores)
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Número de telefone
Dados da whitelist
Telefone adicionado à whitelist com sucesso