{owner}
and {repo}
with the name of your repository and {username}
with the username of the admin that needs to be removed.
{owner}
and {repo}
with the name of your repository and {username}
with the username of the new admin that needs to be added.
<access_token>
and <org_name>
with your GitHub access token and organization name respectively. Also, adjust the value of max_admins
as per your organization’s policy.