MergeHRISClient.Api.GenerateKey (MergeHRISClient v1.0.0) View Source
API calls for all endpoints tagged GenerateKey
.
Link to this section Summary
Link to this section Functions
Link to this function
generate_key_create(connection, authorization, generate_remote_key_request, opts \\ [])
View SourceSpecs
generate_key_create( Tesla.Env.client(), String.t(), MergeHRISClient.Model.GenerateRemoteKeyRequest.t(), keyword() ) :: {:ok, MergeHRISClient.Model.RemoteKey.t()} | {:error, Tesla.Env.t()}
Create a remote key.
Parameters
- connection (MergeHRISClient.Connection): Connection to server
- authorization (String.t): Should include 'Bearer ' followed by your production API Key.
- generate_remote_key_request (GenerateRemoteKeyRequest):
- opts (KeywordList): [optional] Optional parameters
Returns
on success {:error, Tesla.Env.t} on failure