SynqDocs
Management APIBrands

Change a brand's member profile settings

Shows or hides Wallets, Communities and Linked accounts, and sets the copy (null puts Synq’s back); what is left out stays. Each line is one line of plain text with only its own placeholders (400 at the field with the fix otherwise). Which servers and groups it lists is each one’s own `listed`. Needs `org.integrations.edit`. Recorded as `brand.updated`, each setting as `member_profile.<name>`.

PATCH/v1/orgs/{org}/brands/{brand}/member-profile

Shows or hides Wallets, Communities and Linked accounts, and sets the copy (null puts Synq’s back); what is left out stays. Each line is one line of plain text with only its own placeholders (400 at the field with the fix otherwise). Which servers and groups it lists is each one’s own listed. Needs org.integrations.edit. Recorded as brand.updated, each setting as member_profile.<name>.

Authorization

bearer
AuthorizationBearer <token>

An org API key (sk_live_…, sk_test_…), or an access token from the Synq issuer (the synq brand, on the accounts host) for this API.

In: header

Path Parameters

org*string

The org's id

Match^org_[0-9a-hjkmnp-tv-z]{26}$
brand*string

The brand's id

Match^brd_[0-9a-hjkmnp-tv-z]{26}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://api.synq.build/v1/orgs/org_01h455vb4pex5vsknk084sn02q/brands/brd_01h455vb4pex5vsknk084sn02q/member-profile" \  -H "Authorization: Bearer $SYNQ_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "sections": {      "wallets": true,      "communities": true,      "linked_accounts": true    },    "copy": {      "sign_in_line": "To {goal}, sign in to your {brand} account.",      "finish_button": "Finish verification with {platform}"    }  }'
{  "brand_id": "brd_01h455vb4pex5vsknk084sn02q",  "urls": [    "https://acme.auth.synq.build/me"  ],  "sections": {    "wallets": true,    "communities": true,    "linked_accounts": true  },  "copy": {    "sign_in_line": "To {goal}, sign in to your {brand} account.",    "finish_button": "Finish verification with {platform}"  },  "copy_defaults": {    "sign_in_line": "To {goal}, sign in to your {brand} account.",    "finish_button": "Finish verification with {platform}"  },  "communities": [    {      "id": "dsv_01h455vb4pex5vsknk084sn02q",      "type": "discord_server",      "name": "Mollyverse",      "public": true,      "gated": true,      "listed": true,      "listed_by": "brand"    }  ]}