/// <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.EmptyPut <bool>(string.Format("/v1/acl/destroy/{0}", id), q).Execute(ct)); }
/// <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) { return(_client.EmptyPut <bool>(string.Format("/v1/acl/destroy/{0}", id), q).Execute()); }