okta / okta-sdk-php

PHP SDK for the Okta API
Apache License 2.0
38 stars 71 forks source link

how to set user's group when create user? #147

Open Cristiyi opened 2 years ago

Cristiyi commented 2 years ago

how to set user's group when create user? use function of "addToGroup" will return a error "The endpoint does not support the provided HTTP method"

laura-rodriguez commented 2 years ago

Hi @Cristiyi,

Thanks for your question. Someone from our team will reply soon.

cc @bretterer

Stolexiy commented 2 years ago

Hello! I have the same issue. There is a method that allows getting user groups \Okta\Generated\Users\User::getGroups, but not set.