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=<string>&extension_ids=<string>&extension_ids=<string>

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

Granular Scopes: phone:delete:directory: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=<string>&extension_ids=<string>&extension_ids=<string>?site_id=<string>&extension_ids=<string>&extension_ids=<string>'

ENDPOINTS