pub struct PhoneSite {
    pub client: Client,
}

Fields

client: Client

Implementations

List phone sites.

This function performs a GET to the /phone/sites endpoint.

Sites allow you to organize Zoom Phone users in your organization. Use this API to list all the sites that have been created for an account.
Prerequisites:

  • Multiple Sites must be enabled.
  • Pro or a higher account with Zoom Phone enabled.

Scope: phone:read:admin
Rate Limit Label: Medium

Parameters:

  • page_size: i64 – The number of records returned within a single API call.
  • next_page_token: &str – The next page token is used to paginate through large result sets. A next page token will be returned whenever the set of available results exceeds the current page size. The expiration period for this token is 15 minutes.

List phone sites.

This function performs a GET to the /phone/sites endpoint.

As opposed to list, this function returns all the pages of the request at once.

Sites allow you to organize Zoom Phone users in your organization. Use this API to list all the sites that have been created for an account.
Prerequisites:

  • Multiple Sites must be enabled.
  • Pro or a higher account with Zoom Phone enabled.

Scope: phone:read:admin
Rate Limit Label: Medium

Create a phone site.

This function performs a POST to the /phone/sites endpoint.

Sites allow you to organize Zoom Phone users in your organization. Use this API to create a Site.
Prerequisites:

  • Multiple Sites must be enabled.
  • Pro or a higher account with Zoom Phone enabled. Scope: phone:write:admin

Rate Limit Label: Light

Get phone site details.

This function performs a GET to the /phone/sites/{siteId} endpoint.

Sites allow you to organize Zoom Phone users in your organization. Use this API to get information about a specific site.

Prerequisites:

  • Account must have a Pro or a higher plan with Zoom Phone license.
  • Multiple Sites must be enabled.
    Scope: phone:read:admin
    Rate Limit Label: Light

Parameters:

  • site_id: &str – Unique Identifier of the Site.

Delete a phone site.

This function performs a DELETE to the /phone/sites/{siteId} endpoint.

Sites allow you to organize Zoom Phone users in your organization. Use this API to delete a specific site in a Zoom account. To delete a site, in the query parameter, you must provide the Site ID of another site where the assets of current site (users, numbers and phones) can be transferred to. You cannot use this API to delete the main site.

Prerequisites:

Parameters:

  • site_id: &str – Unique Identifier of the Site.
  • transfer_site_id: &str – The Site ID of another site where the assets of the current site (users, numbers and phones) can be transferred to.

Update phone site details.

This function performs a PATCH to the /phone/sites/{siteId} endpoint.

Sites allow you to organize Zoom Phone users in your organization. Use this API to update information about a specific site.

Prerequisites:

  • Account must have a Pro or a higher plan with Zoom Phone license.
  • Scope: phone:write:admin
    Rate Limit Label: Light

Parameters:

  • site_id: &str – Unique Identifier of the Site.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
Attaches the current Context to this type, returning a WithContext wrapper. Read more
Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more