All URIs are relative to https://localhost:8080/RestAPI
Method | HTTP request | Description |
---|---|---|
create_username | POST /usernames | Create a username. |
UsernamePagedMetadata create_username(username)
Create a username.
{"nickname":"Create","request":"createUsernameRequest.html","response":"createUsernameResponse.html"}
# load the gem
require 'bf_ruby2'
api_instance = Bfwd::UsernamesApi.new
username = Bfwd::Username.new # Username | The username object to be created.
begin
#Create a username.
result = api_instance.create_username(username)
p result
rescue Bfwd::ApiError => e
puts "Exception when calling UsernamesApi->create_username: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
username | Username | The username object to be created. |
No authorization required
- Content-Type: application/json; charset=utf-8
- Accept: text/xml, application/xml, application/json; charset=utf-8