v1

latestOpenAPI 3.0.02026-07-17715665.1 KB
Communities

Update community

patch/api/communities/{id}

Request body

hostnamestring
namestring
emailstring
ownersstring[]

Example request

{
  "hostname": "banklessdao.givepraise.xyz",
  "name": "BanklessDAO",
  "email": "john.smith@banklessDao.com",
  "owners": [
    "0x123..",
    "0x345.."
  ]
}

Response

Community

_idstring required
hostnamestring required
namestring required
emailstring required
creatorstring required
ownersstring[] required
discordGuildIdstring
discordLinkNoncestring required
isPublicboolean required
discordLinkState'NOT_SET' | 'PENDING' | 'ACTIVE' | 'DEACTIVE' required
featuresobject required

Example response

{
  "_id": "621f802b813dbdba9eeaf7b4",
  "hostname": "banklessdao.givepraise.xyz",
  "name": "BanklessDAO",
  "email": "john.smith@banklessDao.com",
  "creator": "0x123..",
  "owners": [
    "0x123..",
    "0x345.."
  ],
  "discordGuildId": "0980987846534",
  "discordLinkNonce": "oiujoiuoo8u",
  "isPublic": true,
  "features": {
    "attestations": true
  }
}