Hello, how do I change a user's group using Postman and create the user to be added to the group via API?
I use this but it doesn't add;
{"data":{"attributes":{"username":"username","email":"mail@mail.com","password":"userpasword","isEmailConfirmed":1},
"relationships": {
"groups": {
"data": [
{
"type": "groups",
"id": "5"
}
]
}
}
}}