Workspace Assignment Issue via REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-27-2024 06:07 PM
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2024 03:17 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 04:29 PM
This documentation is still outdated. @Lackshu can you please provide your solution.