Xsolla-logo
  • 文档
  • 创建帐户

Delete group from projectServer-side

delete/projects/{project_id}/user_groups/{group_id}

Deletes a user group.

Notice
A user group can't be deleted if it contains users.

SecurityServer
Request
path Parameters
project_id
required
string <uuid>

发布商帐户中的登录管理器项目ID。

group_id
required
integer

Group ID. Call the Get groups method to get it.

Responses
204

确定

401

未授权

403

被禁止

404

未找到

422

无法处理的实体

Request samples
curl --request DELETE \
  --url https://login.xsolla.com/api/projects/{project_id}/user_groups/{group_id} \
  --header 'X-SERVER-AUTHORIZATION: YOUR_SERVER_TOKEN'
Response samples
{
  • "error": {
    }
}