API referenceTeam
Change someone's role
Owners and admins; only owners change who is an owner. The last owner cannot be demoted.
PATCH
Owners and admins; only owners change who is an owner. The last owner cannot be demoted.
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
id*stringapplication/json- body
role*stringValue in
"owner""admin""approver""viewer"The membership with its new role
curl -X PATCH 'https://api.mailroomapi.com/v1/members/string' \ -H 'Content-Type: application/json' \ -d '{ "role": "owner"}'Example Response
Empty