Add an Organization to a Channel

post

/console/admin/api/v2/channels/{channelName}/organizations

Add an organization to a channel.

Request

Supported Media Types
Path Parameters
Body ()
New organization configuration to be added. Only certificates exported from the v2 API can be used.
Root Schema : postChannelNewOrg
Type: object
Show Source
Example:
{
    "organization":{
        "mspId":"Org1MSP",
        "certs":{
            "adminCert":"example",
            "CACert":"example",
            "tlsCACert":"example",
            "rafttlsCACert":"example",
            "nodeouIdentifierCert":"example",
            "intermediateCerts":"example"
        },
        "signature":"example"
    },
    "access":"ReaderWriter|ReaderOnly"
}
Nested Schema : organization
Type: object
Show Source
Nested Schema : certs
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : 200successModels
Type: object
Show Source
Example:
{
    "status":"success"
}

400 Response

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

401 Response

Unauthorized

403 Response

Forbidden

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