Skip to main content
PUT
Update a community's enabled modules

Authorizations

Authorization
string
header
required

Bearer credential for the public API. Send a live COPE API key (cope_sk_live_*), or a Clerk session token when acting as a signed-in user. Community operations are scoped to the authenticated user; include X-Cope-Business-Id to act on behalf of a specific business you own.

Path Parameters

id
string
required
Pattern: ^[A-Za-z0-9_-]+$

Body

application/json
calendar
boolean
challenges
boolean
courses
boolean
leaderboards
boolean
library
boolean
members
boolean

Response

The community's module toggles after the merge. Contains only module keys; a module absent from the object is enabled by default.

data
object
required