Skip to content

Commit

Permalink
Warn about deleting final SAML account
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunmulligan authored and vipulgupta2048 committed Jul 10, 2024
1 parent 343bb80 commit 0c3e208
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pages/learn/accounts/enterprise-sso.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ Currently, SAML authentication users cannot create API keys. If you require API

<!-- NOTE: we link to this FAQ in the dashboard -->
#### How do I delete a SAML account?
To delete a SAML account, you must use the `sdk`. This is only necessary if you are looking to [delete your Idp](#how-do-i-delete-an-identity-provider-in-balenacloud). Removing the user from your IdP will block their balenaCloud access. If you really want to delete your SAML users, execute the following command:
To delete a SAML account, you must use the `sdk`. This is only necessary if you are looking to [delete your Idp](#how-do-i-delete-an-identity-provider-in-balenacloud). Removing the user from your IdP will block their balenaCloud access.

__Warning:__ Ensure that there is at least one non-SAML admin user in your organization before deleting all SAML users in the Identity Providers (IdPs). Failure to do so may result in being locked out of your organization.

If you really want to delete your SAML users, execute the following command:
```JS
await sdk.pine.delete({
resource: 'saml_account',
Expand Down

0 comments on commit 0c3e208

Please sign in to comment.