POST
/
admin
/
beta
/
whitelist
/
{phone_number}
Adicionar telefone à whitelist
curl --request POST \
  --url https://services.staging.app.dados.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>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

phone_number
string
required

Número de telefone

Body

application/json

Dados da whitelist

The body is of type object.

Response

201
application/json

Created

The response is of type object.