Update information about a user on your account, including its restricted status. When setting a user to restricted, the API sets no grants for it. You need to set grants so that user can access things on the account.
RBAC Identity and AccessIf Identity and Access is enabled on your account, the restricted users have the
account_adminrole and restricted users have specific roles assigned to them. To update the role assignment, run the Update a user's access level operation instead. To learn more, see Identity and Access for Akamai Cloud.
Parent and child accounts
In the context of the parent and child account environment, on a child account, you can't edit the username or email values for delegate users.
Permissions and scopes
To call this operation, you need permissions, based on the model you're using:
-
Identity and access permissions. Your user needs a role with these permissions. Learn more.
- Permissions:
update_user
- Permissions:
-
OAuth scopes. Your user needs these scopes assigned. Learn more.
- Scopes:
account:read_write
- Scopes:
CLI
linode-cli users update example_user \
--username example_user \
--email example@linode.com \
--restricted true