Authorized Users can initiate delete via action menu item on kabob of each row in the API Credentials Dashboard. Please note, the delete action menu item on kabob of each row in the API Credentials Dashboard is not displayed for unauthorized Users.
When a User initiates a request to delete API Credentials
- If >0 webhooks are associated with the API Credentials a modal popup reads: "These API Credentials are in use and cannot be deleted."
- User clicks on "OK" button on the modal dialog:
- The modal dialog closes
- The API Credentials dashboard page is displayed
- User clicks on "OK" button on the modal dialog:
- If 0 webhooks are associated with the API Credentials a popup modal message reads "OK. These API Credentials are not in use. Just click confirm to delete them."
- If the user clicks the "OK" button on the modal dialog:
- The API Credentials are removed from Cosmos DB (configuration)
- The modal dialog closes
- An auto-dismiss blue-format toast message is displayed.
- The API Credentials dashboard page is displayed (refreshed)
-
The API Credentials do not appear as a valid choice in any webhook
create/edit pages.
- if the user
clicks the "Cancel" button on the modal dialog:
- The modal dialog closes without any further action
- The API Credentials dashboard page is displayed
- If the user clicks the "OK" button on the modal dialog: