Skip to content

api setting the group #1529

Closed Answered by vepauk
MasterPhooey asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Here is the sample json payload for User creation:

{
"username": "sample",
"password": "Sample123!",
"home_dir": "E:\sample\%username%",
"permissions": {"/": ["list","download"]},
"status": 1,
"groups": [
{
"name": "Sample Group",
"type": 1
}
]
}

For Primary, type = 1
For Secondary, type = 2
For memberhsiop type = 3

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MasterPhooey
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants