Members

添加成员。Add members.

向指定制品库中添加新成员并分配权限角色。 Add a new member with a permission role to the specified registry. 访问令牌调用此接口需包含以下权限。Required permissions for access token. registry-manage:rw

post/{registry}/-/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/{registry}/-/members/{username}
  • Auth: API key in header Authorization

Path parameters

registrystring 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.