Share the project with a group
POST
/v3/projects/{id}/shareShare the project with a group
请求参数
Path 参数
id
string
必需
The ID of a project
Body 参数application/x-www-form-urlencoded
group_id
integer <int32>
必需
The ID of a group
group_access
enum<integer> <int32>
必需
The group access level
枚举值:
10203040
expires_at
string <date>
可选
Share expiration date
示例代码
返回响应
成功(201)
HTTP 状态码: 201
内容格式: JSONapplication/json
Share the project with a group
数据结构
Share the project with a group
id
string
可选
project_id
string
可选
group_id
string
可选
group_access
string
可选
expires_at
string
可选
示例
{
"id": "string",
"project_id": "string",
"group_id": "string",
"group_access": "string",
"expires_at": "string"
}
最后修改时间: 1 个月前