Update an organization member's role
PATCH
/
memberships
/
organizations
/
{orgId}
/
members
/
{memberId}
/
role
Update an organization member's role
curl --request PATCH \
--url http://localhost:3002/api/v1/memberships/organizations/{orgId}/members/{memberId}/role \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({role: '<string>'})
};
fetch('http://localhost:3002/api/v1/memberships/organizations/{orgId}/members/{memberId}/role', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/memberships/organizations/{orgId}/members/{memberId}/role"
payload = { "role": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)Last modified on July 18, 2026
⌘I
Update an organization member's role
curl --request PATCH \
--url http://localhost:3002/api/v1/memberships/organizations/{orgId}/members/{memberId}/role \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"role": "<string>"
}
'const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({role: '<string>'})
};
fetch('http://localhost:3002/api/v1/memberships/organizations/{orgId}/members/{memberId}/role', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "http://localhost:3002/api/v1/memberships/organizations/{orgId}/members/{memberId}/role"
payload = { "role": "<string>" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)