Skip to content
Last update: October 5, 2022

Leave a consortium

Members in a Quorum Blockchain Service (QBS) consortium that have the OWNER role can remove other members from the consortium.

If a member in the network chooses to leave the consortium and has the MEMBER role, they must contact another member in the consortium that also has the OWNER role to remove them from the consortium.

To remove a member from a consortium, use the DELETE method on the ConsortiumManagement endpoint of QBS management API.

Delete a member

The URI endpoint has the following format:


This endpoint requires the following parameters:

  • {inviterSubscriptionId} - Subscription ID.
  • {inviterResourceGroupName} - Resource group name.
  • {inviterBlockchainMemberName} - Managed app name of the owner of the consortium.
  • {memberNameToRemove} - Name of the QBS managed app of the member to remove from the consortium.


The leaving member will no longer be part of the consortium, but retains all their data unless they choose to delete their managed app.

Code examples

curl -X DELETE{azureSubscriptionId}/resourceGroups/QbsContosoGroup/providers/ConsenSys.Blockchain/blockchainMembers/consortiumMembers/QbsFabrikhamApp
const subscriptionId = '{azureSubscriptionId}';
const resourceGroup = 'QbsContosoGroup';
const appName = 'QbsContosoApp';
const memberName = 'QbsFabrikhamApp';

async function removeMember(memberName) {
    const response = await fetch(
            method: 'DELETE'

    return response.json();
HttpClient httpClient = new();
httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", bearerToken);

ConsenSys.QBS.QbsClient qbs = new(httpClient);

readonly Guid subscriptionId = Guid.Parse("{azureSubscriptionId}");
readonly string resourceGroup = "QbsContosoGroup";
readonly string appName = "QbsContosoApp";
readonly string memberName = "QbsFabrikhamApp";

await qbs.RemoveMemberAsync(subscriptionId, resourceGroup, appName, memberNameToRemove: memberName);
String subscriptionId = "ffd08efa-1f25-41b8-b4a1-0b7a5ec6fcd3";
String resourceGroup = "QbsContosoGroup";
String appName = "QbsContosoApp";
String memberName = "QbsFabrikhamApp";

String endpoint = MessageFormat.format(
    subscriptionId, resourceGroup, appName, memberName);
URL url = new URL(endpoint);

HttpURLConnection http = (HttpURLConnection) url.openConnection();
http.setRequestProperty("Bearer", bearerToken);
import requests

subscriptionId = "ffd08efa-1f25-41b8-b4a1-0b7a5ec6fcd3"
resourceGroup = "QbsContosoGroup"
appName = "QbsContosoApp"
memberName = "QbsFabrikhamApp"

endpoint = "{}/resourceGroups/{}/providers/ConsenSys.Blockchain/blockchainMembers/{}/consortiumMembers/{}"
message = requests.delete(endpoint.format(subscriptionId, resourceGroup, appName, memberName))
Back to top