Add Organization to Network
post
/console/admin/api/v2/organizations/{orgName}/joinNewOrgs
You can add an organization to the network by providing the MSP ID and certificates. This API is only available on the founder.
Request
Supported Media Types
- application/json
Path Parameters
-
orgName(required): string
Name of organization to be joined to the network
Attributes of the organization
Root Schema : orgInfo
Type:
Show Source
array
Example:
[
{
"mspId":"Org6MSP",
"certs":{
"adminCert":"",
"CACert":"",
"tlsCACert":"",
"nodeouIdentifierCert":"",
"rafttlsCACert":"",
"intermediateCerts":""
},
"signature":""
}
]
Response
Supported Media Types
- application/json
200 Response
Added organization to network
Root Schema : schema
Type:
object
Example:
{
"status":"Success"
}
400 Response
Invalid arguments
401 Response
Unauthorized
403 Response
Forbidden
409 Response
Duplicated
Root Schema : schema
Type:
object
Example:
{
"respMesg":"Organization Org2MSP has already joined into the network."
}
500 Response
Internal server error
Default Response
Unexpected error