Update Policies of a Channel

post

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

Update the policies of a channel.

Request

Supported Media Types
Path Parameters
Body ()
The new policies
Root Schema : schema
Type: object
Show Source
Nested Schema : policies
Type: object
Show Source
Nested Schema : readers
Type: object
Show Source
Nested Schema : writers
Type: object
Show Source
Nested Schema : mspIds
Type: array
Show Source
Nested Schema : mspIds
Type: array
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

401 Response

Unauthorized

403 Response

Forbidden

404 Response

Resource not found

500 Response

Internal server error
Body ()
Root Schema : 500errorModels
Type: object
Show Source
Back to Top