Skip to main content
PATCH
/
api
/
v1
/
groups
/
{id}
Update group settings
curl --request PATCH \
  --url https://api.alpha-labs.trade/api/v1/groups/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "header": "<string>",
  "image": "<string>",
  "joiningFee": "<string>",
  "subscriptionFee": "<string>",
  "isActive": true
}
'
{
  "data": {
    "uniqueId": "<string>",
    "name": "<string>",
    "description": "<string>",
    "image": "<string>",
    "header": "<string>",
    "joiningFee": "12.50",
    "subscriptionFee": "12.50",
    "subscriptionPeriod": "<string>",
    "isActive": true,
    "performancePnl": {
      "allTimePnl": "4.27",
      "pnl7Days": "4.27",
      "pnl30Days": "4.27"
    },
    "performanceRank": 123,
    "winRate": "4.27",
    "tradeCount": 123,
    "predictionCount": 123,
    "avgReturn": "4.27",
    "volatility": "4.27",
    "biggestWin": "4.27",
    "biggestLoss": "4.27",
    "participationRate": "4.27",
    "memberCount": 123,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer murmo_.... Keys are created in the Murmo app. Header-only — keys are never read from the query string. Valid for the REST API under /api/v1 only (not the GraphQL endpoint).

Path Parameters

id
string
required

Body

application/json
name
string
description
string
header
string
image
string
joiningFee
string
subscriptionFee
string
groupAccessType
enum<string>
Available options:
PUBLIC,
PRIVATE
defaultMemberType
enum<string>
Available options:
LEADER,
MEMBER
isActive
boolean

Response

The updated group.

data
object

A group the caller belongs to. Fees are whole-dollar strings; performance metrics are decimal strings.