Sha256: 4b0a9c67baabf1d2c570f1f7ffb05f48f259a35032ccf62f2c76ce93bf780291

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

# GetAroundOwner::UsersApi

All URIs are relative to *https://api-eu.getaround.com/owner/v1*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_user_by_id**](UsersApi.md#get_user_by_id) | **GET** /users/{id}.json | Find a user by ID (Users are customers who rent one of your cars)

# **get_user_by_id**
> User get_user_by_id(id)

Find a user by ID (Users are customers who rent one of your cars)

Find a user by ID (Users are customers who rent one of your cars)

### Example
```ruby
# load the gem
require 'getaround-api'
# setup authorization
GetAroundOwner.configure do |config|
end

api_instance = GetAroundOwner::UsersApi.new
id = GetAroundOwner::null.new #  | ID of user to return


begin
  #Find a user by ID (Users are customers who rent one of your cars)
  result = api_instance.get_user_by_id(id)
  p result
rescue GetAroundOwner::ApiError => e
  puts "Exception when calling UsersApi->get_user_by_id: #{e}"
end
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **id** | [****](.md)| ID of user to return | 

### Return type

[**User**](User.md)

### Authorization

[bearerAuth](../README.md#bearerAuth)

### HTTP request headers

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



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
get_around_owner-1.0.3 docs/UsersApi.md