public async Task <IActionResult> Put(string id, [FromBody] Credential request)
        {
            try
            {
                Credential updatedCredential = _credentialManager.UpdateCredential(id, request);

                await _webhookPublisher.PublishAsync("Credentials.CredentialUpdated", updatedCredential.Id.ToString(), updatedCredential.Name).ConfigureAwait(false);

                return(await base.PutEntity(id, updatedCredential));
            }
            catch (Exception ex)
            {
                return(ex.GetActionResult());
            }
        }