AM/FA/Inv - Enterprise Organization Update Whitelist
Details
/external/v1/org/{orgId}/whitelist
Synopsis
This route is used for an organization to update whitelist status.
This triggers an asynchronous process (the id of which is returned on the success response) which can be monitored using the "Transactions API" endpoints.
This process will resolve domainName IPs and whitelist or blacklist on multiple infrastructure components.
This endpoint can be called by applications with access to scope "manageOrgs".
The unique identifier of the organization on the blockchain
US9QIMA
This property contains the transactional data information, i.e. signer information and signature mechanism
{"signer":{"email":"[email protected]","name":"John Doe"}}
This property if set "true" means that the organization being affected by this action will be able to access this organization's resources, like APIs, Peers, Orderers (if applicable).
"false" indicates that the organization affected by this action will stop being able to access aforementioned resources
true
PUT /external/v1/org/{orgId}/whitelist HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 98
{
"transactionData": {
"signer": {
"email": "[email protected]",
"name": "John Doe"
}
},
"whitelist": true
}
{
"processId": "2159457f-0167-4e93-a969-9cf0db05e0bf",
"orchestrationId": "2159457f-0167-4e93-a969-9cf0db05e0bf"
}
Last updated
Was this helpful?