Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2025 02:34 PM
- In Databricks, go to the Admin Console.
- Navigate to the Service Principals section.
- Create a Service Role (make sure it has necessary permissions (Admin Access).
- Generate OAuth Token
- Follow the instructions in the Databricks documentation to generate api access token for the service role: Follow instuction to generate the token OAuth M2M Manual Setup.
- After completing the setup, you'll have a Bearer Token for the service role.
- Once you have the Bearer Token, hit the curl --location --request DELETE 'https://accounts.cloud.databricks.com/api/2.0/accounts/YOUR_ACCOUNT_ID/scim/v2/Users/YOUR_USER_ID/' \ --header 'Authorization: Bearer YOUR_BEARER_TOKEN'