cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Workspace Assignment Issue via REST API

Lackshu
New Contributor II

Iโ€™m relying on workspace assignment via REST API to have the account user created in the workspace. This is like the workspace assignment screen at account level or adding existing user screen at workspace level. The reference URL is below.

Workspace Assignment Update

My code is attached. When I make the call with the appropriate parameters, the REST API call returns with status code 200 and the response has the appropriate details of the user. However the user doesn't appear in the workspace and is also not available when I try to retrieve the user at workspace level via a REST API call.

Any input or advise is appreciated. 

 
 
1 REPLY 1

Lackshu
New Contributor II

It turns out, the problem is the documentation. It says that the permission parameter (that's supplied in) is an array of strings. It really just expects a string, either UNKNOWN, USER, or ADMIN. It would be great if the team could fix the documentation as itโ€™ll confuse people.

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