Organizations

转移组织。Transfer an organization.

将组织转移到目标父组织下。 Transfer the organization to a target parent organization. 访问令牌调用此接口需包含以下权限。Required permissions for access token. group-manage:rw

post/{group}/-/transfer

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/{group}/-/transfer
  • Auth: API key in header Authorization

Path parameters

groupstring required

资源路径。Resource slug.

Request body

sourcestring

资源(仓库/制品库等)当前所在的源路径。Current source path of the resource (repo/registry, etc.).

targetstring

资源要转移到的目标路径。Target path to which the resource is transferred.

Response

OK

Changes

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