Update a group. Available only for users who can administrate groups.
PUT
/v3/groups/{id}Update a group. Available only for users who can administrate groups.
请求参数
Path 参数
id
string
必需
The ID of a group
Body 参数application/x-www-form-urlencoded
name
string
可选
The name of the group
path
string
可选
The path of the group
description
string
可选
The description of the group
visibility_level
integer <int32>
可选
The visibility level of the group
lfs_enabled
boolean
可选
Enable/disable LFS for the projects in this group
request_access_enabled
boolean
可选
Allow users to request member access
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Update a group. Available only for users who can administrate groups.
数据结构
Update a group. Available only for users who can administrate groups.
id
string
可选
name
string
可选
path
string
可选
description
string
可选
visibility_level
string
可选
lfs_enabled
string
可选
avatar_url
string
可选
web_url
string
可选
request_access_enabled
string
可选
statistics
string
可选
示例
{
"id": "string",
"name": "string",
"path": "string",
"description": "string",
"visibility_level": "string",
"lfs_enabled": "string",
"avatar_url": "string",
"web_url": "string",
"request_access_enabled": "string",
"statistics": "string"
}
最后修改时间: 1 个月前