提交 19c9dbf7 编写于 作者: A Adam Niedzielski

Update API documentation.

上级 245d4abb
......@@ -894,10 +894,13 @@ Parameters:
"name": "John Smith",
"state": "active",
"created_at": "2012-05-23T08:00:58Z",
"access_level": 40
"access_level": 40,
"expires_at": null
}
```
>**Note:** The expiration date feature is not released yet.
### Add project team member
Adds a user to a project team. This is an idempotent method and can be called multiple times
......@@ -913,6 +916,9 @@ Parameters:
- `id` (required) - The ID or NAMESPACE/PROJECT_NAME of a project
- `user_id` (required) - The ID of a user to add
- `access_level` (required) - Project access level
- `expires_at` (optional) - Date string in the format YEAR-MONTH-DAY
>**Note:** Setting the expiration date is not released yet.
### Edit project team member
......@@ -927,6 +933,9 @@ Parameters:
- `id` (required) - The ID or NAMESPACE/PROJECT_NAME of a project
- `user_id` (required) - The ID of a team member
- `access_level` (required) - Project access level
- `expires_at` (optional) - Date string in the format YEAR-MONTH-DAY
>**Note:** Setting the expiration date is not released yet.
### Remove project team member
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册