Skip to main content

## profiles_remove

# Function profiles_remove

Source

    pub async fn profiles_remove(
        db: State<'_, DatabaseWrapper>,
        creds: State<'_, CredentialStoreWrapper>,
        user_id: String,
    ) -> Result<(), String>

Expand description

Forget a profile on this device.

Does not call Jellyfin’s logout endpoint: removing an account from the family TV should not sign that person out on their phone. The stored token is deleted locally, which is the part that actually belongs to this device.

TRACES: UR-082 | DR-267