Members
Collaborators

更新外部贡献者权限。Update contributor permission.

修改指定仓库中外部贡献者的权限角色。 Modify the permission role of an external contributor in the specified repository. 访问令牌调用此接口需包含以下权限。Required permissions for access token. repo-manage:rw

put/{slug}/-/outside-collaborators/{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/{slug}/-/outside-collaborators/{username}
  • Auth: API key in header Authorization

Path parameters

slugstring required

资源路径。Resource slug.

usernamestring required

用户名。Username.

Query parameters

role'Guest' | 'Reporter' | 'Developer' required

角色。Role.

Response

OK

Changes

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