Ejemplo n.º 1
0
 /// <summary>
 /// UpdateAsync
 /// </summary>
 /// <param name="shhKeyId"></param>
 /// <param name="request"></param>
 /// <returns></returns>
 public async Task <SshKeyResponse> UpdateAsync(string shhKeyId, SshKeyRequest request)
 {
     return(await PatchAsync <SshKeyRequest, SshKeyResponse>($"ssh-keys/{shhKeyId}", request).ConfigureAwait(false));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// CreateAsync
 /// </summary>
 /// <param name="organizationName"></param>
 /// <param name="request"></param>
 /// <returns></returns>
 public async Task <SshKeyResponse> CreateAsync(string organizationName, SshKeyRequest request)
 {
     return(await PostAsync <SshKeyRequest, SshKeyResponse>($"organizations/{organizationName}/ssh-keys", request).ConfigureAwait(false));
 }