api setting the group #1529
api setting the group
#1529
-
when creating a user with the api can someone show me an example of how to set the primary group? |
Beta Was this translation helpful? Give feedback.
Answered by
vepauk
Feb 1, 2024
Replies: 2 comments
-
Hi, Here is the sample json payload for User creation: {
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MasterPhooey
-
thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
}
]
}