membership.edit — OWNERcurl --location --request PATCH 'https://test.your-api-server.com/organizations//memberships/' \
--header 'Content-Type: application/json' \
--data-raw '{
"role": "OWNER"
}'{
"id": 1,
"organization_id": 1,
"user_id": 1,
"role": "OWNER",
"joined_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"user": {
"id": 1,
"email": "jane@example.com",
"name": "Jane Doe",
"two_fa_enabled": false,
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z"
}
}