cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
Dive into the world of machine learning on the Databricks platform. Explore discussions on algorithms, model training, deployment, and more. Connect with ML enthusiasts and experts.
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to add an instance profile to a Databricks group using REST API?

User15787040559
New Contributor III

Please see

https://docs.databricks.com/dev-tools/api/latest/scim/scim-groups.html

An example

curl -X PATCH -n 'https://test-fw-us-1.cloud.databricks.com/api/2.0/preview/scim/v2/Groups/4062877510650442' -d \
"{ \"schemas\":[\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],
\"Operations\":[{\"op\":\"add\",\"path\":\"roles\",
\"value\":[{\"value\":\"arn:aws:iam::557839012409:instance-profile/shard-demo-s3-access\"}]
}]
 }"

3 REPLIES 3

Kaniz
Community Manager
Community Manager

Hi @User15787040559729892342! My name is Kaniz, and I'm the technical moderator here. Great to meet you, and thanks for your question! Let's see if your peers on the Forum have an answer to your questions first. Or else I will follow up shortly with a response.

gbrueckl
Contributor II

Cary
New Contributor III
New Contributor III

Without knowing all that you are trying to do, the answer is yes, with the Instance Profile API. https://docs.databricks.com/dev-tools/api/latest/instance-profiles.html. You might also check out the SCIM APIs to associate the Instance Profile to a group.

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!