Synq Docs
Management APIMembers

Change a member's role

Not the owner's, and never to owner: ownership is handed over. At most the caller's own permissions. Needs `org.members.edit`. Recorded as `member.role_assigned`.

PATCH/v1/orgs/{org}/members/{user}

Not the owner's, and never to owner: ownership is handed over. At most the caller's own permissions. Needs org.members.edit. Recorded as member.role_assigned.

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
user*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/v1/orgs/string/members/string" \  -H "Content-Type: application/json" \  -d '{    "role": "string"  }'
Empty