Set Orderer Service for an Organization

post

/console/admin/api/v2/organizations/{orgName}/setOrderingService

This endpoint sets the orderer service settings for a participant organization, including the MSP ID, certificates, and ordering service node addresses. This API is only available on the participant.

Request

Supported Media Types
Path Parameters
Body ()
Orderer setting information
Root Schema : ordererSettingInfo
Type: object
Show Source
Nested Schema : certs
Type: object
Show Source
Nested Schema : orderingServiceNodes
Type: array
Show Source
Nested Schema : items
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : schema
Type: object
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