Communities

Update community

Update any combination of community identity fields and settings groups in a single call. Admin role required. Only provided fields are written; omitted fields are left unchanged. All groups (general, defaults, rewards, experience, platforms) are optional.

put/v1/communities/{communityId}

Request

  • Base URL: https://api.subo.ai
  • URL: https://api.subo.ai/v1/communities/{communityId}
  • Auth: API key in header X-API-Key

Path parameters

communityIdstring required

Community ID (Discord guild snowflake, serialized as string)

Request body

namestring

Display name of the community

icon_urlstring

URL of the community icon image

localestring

BCP 47 locale code, e.g. en-US, fr-FR

Example request

{
  "locale": "en-US",
  "rewards": {
    "xp_name": "Points",
    "xp_per_question": 10
  }
}

Response

Updated

Changes

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