Members

更新仓库成员权限。Update repository member permission.

更新指定仓库中直属成员的权限信息。 Update permission information for direct members in specified repository. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw

put/{repo}/-/members/{username}

Request

  • Base URL: https://api.cnb.cool (the document declares no server; this is the origin it was published from)
  • URL: https://api.cnb.cool/{repo}/-/members/{username}
  • Auth: API key in header Authorization

Path parameters

repostring required

资源路径。Resource slug.

usernamestring required

用户名。Username.

Request body

access_levelstring

成员权限级别。Member access level.

is_outside_collaboratorboolean

是否为外部协作者。Whether the member is an outside collaborator.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.