update-member
Update a member of a team
Auth
Team Owner Staff
Example
ghit-cli update-member platform alice --role owner
Expected Response
Updates the resource and prints the updated JSON object.
Errors
400 Bad Requestfor invalid flags/values.404 Not Foundwhen referenced owners/resources are missing.409 Conflictfor uniqueness or state conflicts.
Common auth errors are documented on the CLI overview page.
Help Output
Update a member of a team
Usage: ghit-cli update-member --role <ROLE> <TEAM_SLUG> <USERNAME>
Arguments:
<TEAM_SLUG> Team slug
<USERNAME> Username
Options:
--role <ROLE> Member role [possible values: owner, member]
-h, --help Print help