Add Organization to Network

post

/console/admin/api/v1.1/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
Path Parameters
Body ()
Attributes of the organization
Root Schema : orgInfo
Type: array
Show Source
Example:
[
    {
        "mspId":"Org6MSP",
        "certs":{
            "adminCert":"",
            "CACert":"",
            "tlsCACert":"",
            "nodeouIdentifierCert":"",
            "rafttlsCACert":"",
            "intermediateCerts":""
        },
        "signature":""
    }
]
Nested Schema : items
Type: object
Show Source
Nested Schema : certs
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Added organization to network
Body ()
Root Schema : schema
Type: object
Example:
{
    "status":"Success"
}

400 Response

Invalid argument
Body ()
Root Schema : 400errorModels
Type: object
Show Source
Example:
{
    "respMesg":"invalid argument"
}

401 Response

Unauthorized

403 Response

Forbidden

409 Response

duplicated
Body ()
Root Schema : schema
Type: object
Example:
{
    "respMesg":"Organization Org2MSP has already joined into the network."
}

500 Response

Internal Server Error
Body ()
Root Schema : 500errorModels
Type: object
Show Source

Default Response

Unexpected error
Body ()
Root Schema : errorModel
Type: object
Show Source
Back to Top