Bulk Remove Numbers from Your Account

/remove/bulk

Full Url:

https://apiv1.teleapi.net/user/dids/remove/bulk

Arguments:

  • token (string, required)
  • numbers (string, required)

Info: Remove a series of phone numbers from your account

Note: numbers is expected to be a json formatted array of dids. Ex: ["3035551234", "2125551234"]

Example Success

{
    'code': 200,
    'status': 'success',
    'data': [
        {
            '3035551234': {
                'code': 200, 
                'status': 'success', 
                'data': 'successfully removed phone number'
            }
        },
        {
            '2125551234': {
                'code': 200, 
                'status': 'success', 
                'data': 'successfully removed phone number'
            }
        }
    ]
}

Example Error

{
    'code': 200,
    'status': 'success',
    'data': [
        {
            '3035554567': {
                'code': 200, 
                'status': 'success', 
                'data': 'successfully removed phone number'
            }
        },
        {
            '2125557890': {
                'code': 400, 
                'status': 'error', 
                'data': 'Invalid id'
            }
        }
    ]
}

results matching ""

    No results matching ""