public void RevokeApiKey(ApiKeyResource apiKey) { Client.Delete(apiKey.Link("Self")); }
public Task RevokeApiKey(ApiKeyResource apiKey) { return(Client.Delete(apiKey.Link("Self"))); }
public Task RevokeApiKey(ApiKeyResource apiKey) { throw new NotImplementedException(); }
public void RevokeApiKey(ApiKeyResource apiKey) { throw new System.NotImplementedException(); }
/// <summary> /// Removes the passed API key from the user it is attached to. /// </summary> /// <param name="octRepository">The repository to call against.</param> /// <param name="apiKey">ApiKey to Revoke.</param> public static void RevokeApiKey(OctopusRepository octRepository, ApiKeyResource apiKey) { octRepository.Users.RevokeApiKey(apiKey); }