Exemple #1
0
 /// <summary>
 /// Update bucket recipient
 /// </summary>
 /// <param name="id"></param>
 /// <param name="recipientId"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 public async Task <RecipientResponse> UpdateBucketRecipientAsync(string id, string recipientId, RecipientUpdateOptions options)
 {
     return(await PatchAsync <RecipientResponse>($"{Urls.Share}/buckets/{id}/recipients/{recipientId}", options));
 }
Exemple #2
0
 /// <summary>
 /// Update bucket recipient
 /// </summary>
 /// <param name="id"></param>
 /// <param name="recipientId"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 public RecipientResponse UpdateBucketRecipient(string id, string recipientId, RecipientUpdateOptions options)
 {
     return(Patch <RecipientResponse>($"{Urls.Share}/buckets/{id}/recipients/{recipientId}", options));
 }