java.lang.Object
com.ringcentral.paths.restapi.v2.accounts.devices.Index

public class Index extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • path

      public String path(Boolean withParameter)
    • path

      public String path()
    • delete

      public RemoveLineResponse delete(RemoveLineRequest removeLineRequest) throws RestException, IOException
      Disassociates a phone line (DL & Device) from an extension:

      - if the value of `keepAssetsInInventory` is `true`, the given device is moved to unassigned devices and the number is moved to the number inventory; - if the value of `keepAssetsInInventory` is `false`, the given device and number is removed from the account; - if the parameter `keepAssetsInInventory` is not set (empty body), default value `true` is set.

      HTTP Method: delete Endpoint: /restapi/v2/accounts/{accountId}/devices/{deviceId} Rate Limit Group: Medium App Permission: EditAccounts User Permission: EditAccountDevices

      Throws:
      RestException
      IOException
    • bulkAdd

      public Index bulkAdd()