Sha256: 2810cbe1765c74fdef706bfa6bdd985200cb7d5f4095efcdb8c73ce58cce9c4c

Contents?: true

Size: 1.41 KB

Versions: 13

Compression:

Stored size: 1.41 KB

Contents

# Phrase::UsersApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**show_user**](UsersApi.md#show_user) | **GET** /user | Show current User



## show_user

> User show_user(opts)

Show current User

Show details for current User.

### Example

```ruby
# load the gem
require 'phrase'
# setup authorization
Phrase.configure do |config|
  # Configure HTTP basic authorization: Basic
  config.username = 'YOUR USERNAME'
  config.password = 'YOUR PASSWORD'

  # Configure API key authorization: Token
  config.api_key['Authorization'] = 'YOUR API KEY'
  config.api_key_prefix['Authorization'] = 'token'
end

api_instance = Phrase::UsersApi.new
opts = {
  x_phrase_app_otp: 'x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
}

begin
  #Show current User
  result = api_instance.show_user(opts)
  pp result
rescue Phrase::ApiError => e
  puts "Exception when calling UsersApi->show_user: #{e}"
end
```

### Parameters


Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional] 

### Return type

Response<([**User**](User.md))>

### Authorization

[Basic](../README.md#Basic), [Token](../README.md#Token)

### HTTP request headers

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
phrase-1.0.14 docs/UsersApi.md
phrase-1.0.13 docs/UsersApi.md
phrase-1.0.12 docs/UsersApi.md
phrase-1.0.11 docs/UsersApi.md
phrase-1.0.10 docs/UsersApi.md
phrase-1.0.9 docs/UsersApi.md
phrase-1.0.8 docs/UsersApi.md
phrase-1.0.7 docs/UsersApi.md
phrase-1.0.6 docs/UsersApi.md
phrase-1.0.5 docs/UsersApi.md
phrase-1.0.4 docs/UsersApi.md
phrase-1.0.3 docs/UsersApi.md
phrase-1.0.2 docs/UsersApi.md