Submit your use case or success story to the 2023 edition of the Dataiku Frontrunner Awards ENTER YOUR SUBMISSION

Issue creating group through dsscli

Level 1
Issue creating group through dsscli

I want to create a group through command "dsscli create-group"

but the thing is no parameters can grant permission to "create workspace"

none of the --may-xxx flags grant creating workspace permission

0 Kudos
1 Reply

Hi @Ouss,

Indeed you are correct that the dsscli option for creating groups hasn't been updated with an option to add workspaces. 

If it would work, you can use the Python API for this functionality:

import dataiku 
group = client.get_group('newgroup')
definition = group.get_definition()
definition['mayCreateWorkspaces'] = True

Thank you, 

0 Kudos