Add an Organization to a Channel
post
/console/admin/api/v2/channels/{channelName}/organizations
Add an organization to a channel.
Request
Supported Media Types
- application/json
Path Parameters
-
channelName(required): string
The specified channel name
New organization configuration to be added. Only certificates exported from the v2 API can be used.
Root Schema : postChannelNewOrg
Type:
Show Source
object
Example:
{
"organization":{
"mspId":"Org1MSP",
"certs":{
"adminCert":"example",
"CACert":"example",
"tlsCACert":"example",
"rafttlsCACert":"example",
"nodeouIdentifierCert":"example",
"intermediateCerts":"example"
},
"signature":"example"
},
"access":"ReaderWriter|ReaderOnly"
}
Response
Supported Media Types
- application/json
200 Response
Success
400 Response
Invalid arguments
401 Response
Unauthorized
403 Response
Forbidden
500 Response
Internal server error
Default Response
Unexpected error