UNPKG

@linode/api-v4

Version:
29 lines 939 B
import type { IamAccountPermissions, IamUserPermissions } from './types'; /** * getUserPermissions * * Returns the full permissions structure for this User. This includes all entities on * the Account alongside what level of access this User has to each of them. * * @param username { number } the username to look up. * */ export declare const getUserPermissions: (username: string) => Promise<IamUserPermissions>; /** * updateUserPermissions * * Update the permissions a User has. * * @param username { number } ID of the client to be viewed. * @param data { object } the Permissions object to update. * */ export declare const updateUserPermissions: (username: string, data: IamUserPermissions) => Promise<IamUserPermissions>; /** * getAccountPermissions * * Return all permissions for account. * */ export declare const getAccountPermissions: () => Promise<IamAccountPermissions>; //# sourceMappingURL=iam.d.ts.map