cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Change cluster owner API call failed

hdu
New Contributor II

I am trying to change cluster's owner using API call. but get following error. I am positive that host, cluster_id and owner_username are all correct. 

The error message says No API found. Is this related with the compute I am using? or something else? Can any one help please?  Thank you in advance. 

hdu_0-1742837197352.png

 

1 REPLY 1

Brahmareddy
Honored Contributor II

Hi hdu,

How are you doing today?, As per my understanding, It sounds like you’re really close! That “No API found” error usually means either the wrong API endpoint is being used, or the cluster type doesn’t support ownership changes—for example, shared or serverless clusters often don’t allow changing the owner via API. Make sure you’re using the Permissions API (not the Clusters API) with this format: POST /api/2.0/permissions/clusters/{cluster_id} and passing the new owner's info in the body. Also, your user needs to have admin or CAN_MANAGE permissions on the cluster to make the change. If everything checks out and it’s still failing, the issue is probably the cluster type not allowing this update. Let me know if you want help with the exact API call format—I’m happy to share a quick example!

Regards,

Brahma

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now