Sha256: ec371061f2fd1d82d56d2df78b4159ab76b5c5f5ae01e37fdee47fd0c6c7fb64
Contents?: true
Size: 1.2 KB
Versions: 18
Compression:
Stored size: 1.2 KB
Contents
--- title: OrganizationApi --- ## PureCloud::OrganizationApi All URIs are relative to *https://api.mypurecloud.com* Method | HTTP request | Description ------------- | ------------- | ------------- |[**get_me**](OrganizationApi.html#get_me) | **GET** /api/v2/organizations/me | Get organization.| {: class="table table-striped"} <a name="get_me"></a> ## -[**Organization**](Organization.html) get_me Get organization. ### Example ~~~ruby # load the gem require 'purecloud' # 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::OrganizationApi.new begin #Get organization. result = api_instance.get_me p result rescue PureCloud::ApiError => e puts "Exception when calling OrganizationApi->get_me: #{e}" end ~~~ ### Parameters This endpoint does not need any parameter. {: class="table table-striped"} ### Return type [**Organization**](Organization.html) ### HTTP request headers - **Content-Type**: application/json - **Accept**: application/json
Version data entries
18 entries across 18 versions & 1 rubygems