组织管理

创建新的组织,创建者自动成为管理员

post/organizations

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/organizations
  • Auth
    API key in header Authorization

Request body

avatarstring

optional avatar URL

descriptionstring
invite_code_validity_daysinteger

optional: 0=never, 1, 7, 30; default 7

member_limitinteger

optional: max members; 0=unlimited; default 50

namestring required

Response

Created

successboolean

Example response

{
  "success": true
}

Changes