> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fluz.app/llms.txt
> Use this file to discover all available pages before exploring further.

# removeAuthorizedUser

> Remove an authorized user from the caller's account by setting their role assignment to INACTIVE.

Remove an authorized user from the caller's account by setting their role assignment to INACTIVE.
The target account is always resolved from the caller's credentials — Bearer tokens use
the token's accountId; Basic (API key) callers use the application's configured operator account.
Requires the MANAGE\_SUBUSERS scope. Supports both Bearer and Basic auth.
The account owner (OWNER role) cannot be removed.

```graphql theme={null}
mutation {
  removeAuthorizedUser(
    authUserId: UUID!
  ): RemoveAuthorizedUserResponse
}
```

## Arguments

<ParamField body="authUserId" type="UUID!" required>
  The authorized user ID (UAC role assignment ID) to deactivate. Obtain this
  from the authorizedUsers query or the addAuthorizedUser mutation response.
</ParamField>

## Returns

[`RemoveAuthorizedUserResponse`](/api-reference/types/remove-authorized-user-response) — Response returned from the removeAuthorizedUser mutation.
