Apps

Update app user defaults

Auth: User JWT

App update

put/v1/apps/user-defaults/{id}

Request

  • Base URL: https://api.chat.ethora.com
  • URL: https://api.chat.ethora.com/v1/apps/user-defaults/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

ID of the target resource. The exact type (App, File, etc.) depends on the endpoint.

Request body

defaultProfileIsPublicboolean

Default value of profileIsPublic for newly-created users in this app. If true, anyone in the app can view a new user's profile by default; if false, only the user themself + admins.

defaultAssetsArePublicboolean

Default value of assetsArePublic for newly-created users in this app. If true, a new user's owned tokens / assets are visible on their public profile by default; if false, hidden.

allowUsersToBecomeTenantsboolean

If true, end-users of this app can become tenants themselves (create their own apps, take their account independent of this app). Used for the base app where any signup can spin up their own apps. Default false for child apps.

defaultAccessProfileOpenboolean

Deprecated - kept as a backward-compatible alias for defaultProfileIsPublic. New integrations should use defaultProfileIsPublic.

defaultAccessAssetsOpenboolean

Deprecated - kept as a backward-compatible alias for defaultAssetsArePublic. New integrations should use defaultAssetsArePublic.

usersCanFreeboolean

Deprecated - kept as a backward-compatible alias for allowUsersToBecomeTenants. New integrations should use allowUsersToBecomeTenants.

Response

{
    _id: string,
    displayName: string,
    domainName: string,
    creatorId: string,
    bundleId: string,
    primaryColor: string,
    coinSymbol: string,
    coinName: boolean,
    defaultAccessProfileOpen: boolean,
    defaultAccessAssetsOpen: boolean,
    usersCanFree: boolean,
    isUserDataEncrypted: boolean,
    parentAppId: boolean,
    isAllowedNewAppCreate: boolean,
    isBaseApp: boolean,
    defaultRooms: [{jid: string, pinned: boolean}],
    createdAt: string,
    updatedAt: string,
    appToken: string,
}

Changes

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