import type { ResponseUser } from '../models/ResponseUser'; import type { ResponseUserPermissions } from '../models/ResponseUserPermissions'; import type { UpdateUser } from '../models/UpdateUser'; export declare class MeService { /** * Get permissions * Lists all permissions granted to the you sorted into directly granted and inherited as permission response objects. * @returns ResponseUserPermissions * @throws ApiError */ static meControllerGetPermissions(): Promise; /** * Put * Update the yourself.
You can't edit your own permissions or group memberships here - Please use the /api/users/:id enpoint instead.
Please remember that ids can't be changed. * @param requestBody UpdateUser * @returns ResponseUser * @throws ApiError */ static meControllerPut(requestBody?: UpdateUser): Promise; /** * Remove * Delete yourself.
You have to confirm your decision by providing the ?force=true query param.
If there are any permissions directly granted to you they will get deleted as well. * @param force * @returns ResponseUser * @throws ApiError */ static meControllerRemove(force?: boolean): Promise; }