account_member_update
Change an Account member's role, access mode or permissions.
Change an Account member’s role, access mode or permissions.
| Access | Changes Blossom |
| Same as | blossom account:member:update |
Arguments
| Argument | Type | Description |
|---|---|---|
id |
string | Account member id. Required. |
data |
object | Only the fields to change. Required. |
data.role |
string | admin or member. |
data.access_mode |
string | full_access or read_only. |
data.permission_set_id |
string | Permission Set id. |
data.scopes |
string list | Custom permission scopes; permission_set_scopes lists them. |
Example
{"id":"account-100","data":{"clone_url":"https://github.com/acme/shop","services":[{"name":"web","command":"web","port":3000,"publicly_exposed":true}]}}