Twilio使用REST API删除子帐户中的通道

时间:2018-05-31 12:47:16

标签: twilio twilio-api

我可以使用REST API删除可编程聊天频道:

删除https://chat.twilio.com/v2/Services/ISxxx/Channels/CHxxx

我可以获得子帐户信息:

获取https://api.twilio.com/2010-04-01/Accounts/ACxxx

如何删除子帐户中的频道?

1 个答案:

答案 0 :(得分:1)

As Twilio support told me, subaccounts work the same way as accounts. I just had to authenticate using the subaccount credentials.

Subaccount SID + auth token

OR

API key + secret belonging to subaccount