Sha256: 0978845272fdcc40ca3af8ee14a332489a5e08e7fefdab8bac11ecb7d6390937

Contents?: true

Size: 1.25 KB

Versions: 29

Compression:

Stored size: 1.25 KB

Contents

---
title: TokensApi
---

## PureCloud::TokensApi

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

Method | Description
------------- | ------------- | -------------
[**delete_tokens_me**](TokensApi.html#delete_tokens_me) | Delete  auth token used to make the request.
{: class="table table-striped"}

<a name="delete_tokens_me"></a>

## -String** delete_tokens_me

Delete  auth token used to make the request.



Wraps DELETE /api/v2/tokens/me 


### 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::TokensApi.new

begin
  #Delete  auth token used to make the request.
  result = api_instance.delete_tokens_me
  p result
rescue PureCloud::ApiError => e
  puts "Exception when calling TokensApi->delete_tokens_me: #{e}"
end
~~~

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


### Return type

**String**

### HTTP request headers

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



Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
purecloudplatformclientv2-3.1.7 docs/TokensApi.md
purecloudplatformclientv2-3.1.6 docs/TokensApi.md
purecloudplatformclientv2-3.1.5 docs/TokensApi.md
purecloudplatformclientv2-3.1.4 docs/TokensApi.md
purecloudplatformclientv2-3.1.3 docs/TokensApi.md
purecloudplatformclientv2-3.1.2 docs/TokensApi.md
purecloudplatformclientv2-3.1.1 docs/TokensApi.md
purecloudplatformclientv2-3.1.0 docs/TokensApi.md
purecloudplatformclientv2-3.0.0 docs/TokensApi.md
purecloudplatformclientv2-2.0.40 docs/TokensApi.md
purecloudplatformclientv2-2.0.39 docs/TokensApi.md
purecloudplatformclientv2-2.0.38 docs/TokensApi.md
purecloudplatformclientv2-2.0.37 docs/TokensApi.md
purecloudplatformclientv2-2.0.36 docs/TokensApi.md
purecloudplatformclientv2-2.0.35 docs/TokensApi.md
purecloudplatformclientv2-2.0.33 docs/TokensApi.md
purecloudplatformclientv2-2.0.32 docs/TokensApi.md
purecloudplatformclientv2-2.0.30 docs/TokensApi.md
purecloudplatformclientv2-2.0.23 docs/TokensApi.md
purecloudplatformclientv2-2.0.21 docs/TokensApi.md