Change a member role
set_member_roleRequires sign-in (scope orgs:manage). Set the role of a member to admin or read. The owner cannot be changed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"org": "<org>",
"userId": "<userId>",
"role": "<role>"
},
"name": "set_member_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | organization slug | |
| role | Yes | role in the organization: admin or read | |
| userId | Yes | Algizian user id of the person |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return. |