Sha256: 07044a31eb3b43ef14902fada1dcb3f3164db10bfda813fdb524083ef44dd517

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

---
title: ObjectsApi
---

## PureCloud::ObjectsApi

All URIs are relative to *https://api.mypurecloud.com*

Method | Description
------------- | ------------- | -------------
[**get_authorization_divisions_limit**](ObjectsApi.html#get_authorization_divisions_limit) | Returns the maximum allowed number of divisions.
{: class="table table-striped"}

<a name="get_authorization_divisions_limit"></a>

## -Integer** get_authorization_divisions_limit

Returns the maximum allowed number of divisions.



Wraps GET /api/v2/authorization/divisions/limit 


### Example
~~~ruby
# load the gem
require 'purecloudplatformclientv2'
# setup authorization
@secret = ENV['PURECLOUD_SECRET']
@id = ENV['PURECLOUD_CLIENT_ID']
environment = "mypurecloud.com"

@authToken = PureCloud.authenticate_with_client_credentials @id, @secret, environment

PureCloud.configure do |config|
  config.access_token = @authToken
end

api_instance = PureCloud::ObjectsApi.new

begin
  #Returns the maximum allowed number of divisions.
  result = api_instance.get_authorization_divisions_limit
  p result
rescue PureCloud::ApiError => e
  puts "Exception when calling ObjectsApi->get_authorization_divisions_limit: #{e}"
end
~~~

### Parameters
This endpoint does not need any parameter.
{: class="table table-striped"}


### Return type

**Integer**

### HTTP request headers

 - **Content-Type**: application/json
 - **Accept**: application/json



Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
purecloudplatformclientv2-28.0.1 docs/ObjectsApi.md
purecloudplatformclientv2-28.0.0 docs/ObjectsApi.md
purecloudplatformclientv2-27.1.0 docs/ObjectsApi.md
purecloudplatformclientv2-27.0.0 docs/ObjectsApi.md