Logo
Zoom Public API Documentation

Delete users from a directory of a site

DELETE {{baseUrl}}/phone/sites/:siteId/dial_by_name_directory/extensions?site_id=fleoq3&extension_ids=fiefi02kd&extension_ids=fiefi02kd

Use this API to delete users from a directory of the specified site.

Prerequisites: * Business or Education account * Zoom Phone license

Scopes:phone:write:admin

Rate Limit Label: Light

 

Body PARAM

Key Datatype Required Description 
site_id
string Unique identifier of the [site](https://support.zoom.us/hc/en-us/articles/360020809672-Managing-multiple-sites) to which users to delete belongs
extension_ids
string Extension Ids. If the value is not specified, delete the value of `site_id` from `included sites` and delete all users related with `site_id` from directory
extension_ids
string Extension Ids. If the value is not specified, delete the value of `site_id` from `included sites` and delete all users related with `site_id` from directory



HEADERS

Key Datatype Required Description 




RESPONSES

status





Curl
curl -X DELETE 'https://api.zoom.us/v2/phone/sites/:siteId/dial_by_name_directory/extensions?site_id=fleoq3&extension_ids=fiefi02kd&extension_ids=fiefi02kd?site_id=fleoq3&extension_ids=fiefi02kd&extension_ids=fiefi02kd'

ENDPOINTS