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โ€‹ 

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you wonโ€™t want to miss the chance to attend and share knowledge.

If there isnโ€™t a group near you, start one and help create a community that brings people together.

Request a New Group