예제 #1
0
 /// <summary>
 /// Update ACL Token,This endpoint is used to modify the policy for a given ACL token. Instead of generating a new token ID, the ID field must be provided.
 /// </summary>
 /// <returns></returns>
 /// <param name="aclTokenParmeter">ACL Token Parmeter</param>
 public async Task <(bool result, string backJson)> UpdateACLToken(ACLTokenParmeter aclTokenParmeter)
 {
     return(await Put(aclTokenParmeter, $"/acl/update"));
 }
예제 #2
0
 /// <summary>
 /// Create ACL Token,This endpoint makes a new ACL token.
 /// </summary>
 /// <returns></returns>
 /// <param name="aclToken">ACL Token Parmeter</param>
 public async Task <(bool result, BootstrapACLsResult backBootstrapACLs)> CreateACLToken(ACLTokenParmeter aclTokenParmeter)
 {
     return(await Put <ACLTokenParmeter, BootstrapACLsResult>(aclTokenParmeter, $"/acl/create"));
 }