cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
missing-QuestionPost
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Unable to perform patch operation on users api which is in preview

karthik_p
Esteemed Contributor

Hi team,

we would like to lock users from accessing workspace, we are able to get properties of user like groups etc..but when we are doing patch operation it is throwing 500 error

while during post body in path we are providing entitlements

2 REPLIES 2

etsyal1e2r3
Honored Contributor

You should be assigning users roles or permissions for each workspace from the account level (where you assign metastores to workspaces).

karthik_p
Esteemed Contributor

@Tyler Retzlaffโ€‹ our workspace is not UC enabled, only UC enabled need account level api. patch api we are using is from below link

https://docs.databricks.com/api/workspace/users/patch

{

"operations": [

{

"op": "update",

"path": "entitlements",

"value": "workspace-access"

}

]

}

looks it is not clear from example, what we need to pass in path (eg: i want to uncheck workspace-access which is under entitlements. as we have bulk users we are looking for good solution please @Kaniz Fatmaโ€‹ 

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