Skip to Content
MailroomMailroom home

Change someone's role

Owners and admins; only owners change who is an owner. The last owner cannot be demoted.

PATCH
/members/{id}

Owners and admins; only owners change who is an owner. The last owner cannot be demoted.

Authorization

bearerAuth
headerAuthorizationBearer <mr_live_ / mr_test_>

API key. Never log the secret.

Path Parameters

id*string

Request Body

application/json
  1. body
role*string
Value in"owner""admin""approver""viewer"

Response Body

The membership with its new role

Example Request
curl -X PATCH 'https://api.mailroomapi.com/v1/members/string' \  -H 'Content-Type: application/json' \  -d '{  "role": "owner"}'
Example Response
Empty