Excluir marca

Use este endpoint para excluir uma marca por meio da API do Channel Manager. Ele exclui a marca RCS existente.

Exemplo

Veja a seguir a descrição de todas as variáveis utilizadas em cada trecho de código:

ChaveDescrição
VONAGE_API_KEY

Your Vonage API key (see it on your dashboard).

VONAGE_API_SECRET

Your Vonage API secret (also available on your dashboard).

CHANNEL_MANAGER_RCS_BRAND_ID

The ID of the RCS brand.

Pré-requisitos

Se você não tiver um aplicativo, acesse criar um. Certifique-se também de acessar configure seus webhooks.

Escreva o código

Adicione o seguinte ao arquivo ` delete-brand.sh`:

curl -X DELETE https://api.nexmo.com/v1/channel-manager/rcs/brands/${CHANNEL_MANAGER_RCS_BRAND_ID} \
  -u "${VONAGE_API_KEY}:${VONAGE_API_SECRET}" 
  

Ver código-fonte completo

Execute seu código

Salve este arquivo no seu computador e execute-o:

bash delete-brand.sh