Modify member permissions by calling the ModifyMemberACLs.

Request parameters

Parameter Type Required Example Description
Action String Required ModifyMemberACLs

The operation that you want to perform. Valid values: ModifyMemberACLs

LedgerId String Required l-c8cc7be3eea542axxxxxxxxxx

The ID of the ledger instance.

MemberId String Required m-04389ec1075443bcxxxxxxxxxx

The ID of the member.

Role String Required WRITER

The member permission role. Valid values: ADMIN, WRITER, and READER. The ADMIN account has all the operation permissions for the ledger. The WRITER can write and read records in the ledger, whereas the READER can only read records in the ledger.

Response parameters

Parameter Type Example Description
RequestId String 89E6B5F5-7511-46A7-9EDB-3C6F8AA4D48C

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ModifyMemberACLs
&LedgerId=l-c8cc7be3eea542axxxxxxxxxx
&MemberId=m-04389ec1075443bcxxxxxxxxxx
&Role=WRITER
&<Common request parameters>

Sample success responses

XML format

<RequestId>89E6B5F5-7511-46A7-9EDB-3C6F8AA4D48C</RequestId>

JSON format

{
    "RequestId": "89E6B5F5-7511-46A7-9EDB-3C6F8AA4D48C"
}

Error codes

HttpCode Error code Error message Description
400 InvalidParameter The specified parameter %s is invalid. The error message returned because the specified parameters are invalid.
400 MissingParameter You must specify the parameter %s. The error message returned when the client token is not specified.
404 ResourceNotFound The specified resource %s does not exist. Resource not found
403 UnauthorizedOperation You are not authorized to perform this operation. %s No operation permissions

For a list of error codes, visit the API Error Center.