Update Channel Configuration (Deprecated in v19.1.3)
patch
/console/admin/api/v1.1/channels/{channelName}
You can modify a channel's configuration by supplying updated channel configuration information.
Request
Supported Media Types
- application/json
Path Parameters
-
channelName: string
Channel name
Updated channel information
Root Schema : patchChannel
Type:
Show Source
object
Example:
{
"organizations":[
{
"name":"Org1MSP",
"mspId":"Org1MSP",
"certs":{
"adminCert":"example",
"CACert":"example",
"tlsCACert":"example"
},
"signature":"example"
}
],
"policies":{
"readers":{
"mspids":[
"org1",
"org2"
]
},
"writers":{
"mspids":[
"org1",
"org2"
]
}
}
}
Response
Supported Media Types
- application/json
200 Response
Success
400 Response
Invalid argument
401 Response
Unauthorized
Default Response
Unexpected error