Xsolla-logo

Get user groupsServer-side

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

Gets all user's groups.

SecurityServer
Request
path Parameters
user_id
required
string <uuid>

Benutzer-ID. Diese finden Sie unter Kundenportal > Login-Einstellungen > Nutzer > Benutzername/ID.

project_id
required
string <uuid>

Login-Projekt-ID aus dem Kundenportal.

Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

429

Too Many Requests

Request samples
curl --request GET \
  --url https://login.xsolla.com/api/projects/{project_id}/users/{user_id}/user_groups \
  --header 'X-SERVER-AUTHORIZATION: YOUR_SERVER_TOKEN'
Response samples
application/json
[
  • {
    }
]