Add user to user group
1 min
POST
https://usermgmt-api.optimizely.com/api/users/{email}/usergroups
emailstringEmail address of the user.
acceptstringGenerated from available response content types
bodyobjectDetails used to add a user to user groups.
200The user response.
400The request was invalid or cannot be otherwise served. An accompanying error message will explain further.
401Unauthorized access to endpoint.
403Forbidden access to endpoint.
500<p>A server error occurred, please try again.</p>
curl --request POST \
--url https://usermgmt-api.optimizely.com/api/users/{email}/usergroups \
--header 'accept: application/json'