Ejemplo n.º 1
0
 /// <summary>
 /// Destroy is used to destroy a given ACL token ID
 /// </summary>
 /// <param name="id">The ACL ID to destroy</param>
 /// <param name="q">Customized write options</param>
 /// <returns>An empty write result</returns>
 public Task <WriteResult <bool> > Destroy(string id, WriteOptions q, CancellationToken ct = default(CancellationToken))
 {
     return(_client.PutReturning <bool>(string.Format("/v1/acl/destroy/{0}", id), q).Execute(ct));
 }