Xsolla-logo

Delete user groupsServer-side

delete/projects/{project_id}/users/{user_id}/user_groups

Deletes user groups.

Notice
  • A Default group cannot be passed to this method.
  • This method automatically updates user tags in Mailchimp if you have connected it.

SecurityServer
Request
path Parameters
user_id
required
string <uuid>

User ID. You can find it in Publisher Account > Login settings > Users > Username/ID.

project_id
required
string <uuid>

Login project ID from Publisher Account.

Request Body schema: application/json
user_groups
required
Array of integers

List of user groups ID.

Responses
204

OK

400

Bad Request

401

Unauthorized

404

Not Found

422

Unprocessable Entity

Request samples
application/json
{
  • "user_groups": [
    ]
}
Response samples
{
  • "error": {
    }
}