Returns user's permissions on an entity based on entity access roles assigned to the user. A permission is the lowest granular level of access defined by Akamai. It represents a single API endpoint and its names derives from a corresponding operation. For example, the resize_linode
permission represents the Resize a Linode operation. To get the list of permissions based on account access roles, run the Get user's permissions on an entity operation. And to get the full list of roles and their permissions assigned to the user, run the Get a user's access level operation.
To run this operation, you need to have the account_viewer
or account_admin
role assigned, otherwise you'll get the 403 error. To check your role assignment, run the Get a user's access level operation.
linode-cli iam users permissions entity get \
--username :username
--entity-type :entity_type
--entity-id :entity_id
<https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
iam-users-permissions-entity:read_only
<https://techdocs.akamai.com/linode-api/reference/get-started#oauth>