cancel
Showing results for 
Search instead for 
Did you mean: 
Machine Learning
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 II
New Contributor II

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.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.