twilio / authy-php

A PHP client for Authy
245 stars 87 forks source link

How can I remove user using API? #50

Closed uimos closed 6 years ago

senekis commented 6 years ago

Using the PHP library

$response = $authy_api->deleteUser('authy-id)

If you want to remove the user using the API, check: https://www.twilio.com/docs/authy/api/users#remove-a-user

curl -X POST https://api.authy.com/protected/{FORMAT}/users/{USER ID}/remove -H "X-Authy-API-Key: {KEY}"