Organizations

更新组织信息。Update organization information.

可更新的内容为:组织描述、组织展示名称、组织网站、组织联系邮箱。 Updatable fields: organization description, display name, website, and contact email. 访问令牌调用此接口需包含以下权限。Required permissions for access token. group-manage:rw

put/{group}

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

Path parameters

groupstring required

资源路径。Resource slug.

Request body

descriptionstring

组织描述。Organization description.

domainstring

组织绑定域名。Bound domain of the organization.

emailstring

组织邮箱。Organization email.

readme_repo_idinteger

用于展示 README 的仓库 ID。Repository ID used for displaying README.

readme_repo_pathstring

用于展示 README 的仓库路径。Repository path used for displaying README.

remarkstring

组织备注。Organization remark.

sitestring

组织主页。Organization site.

wechat_mpstring

组织微信公众号。Organization WeChat official account.

Response

OK

Changes

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