function revokeGrant
revokeGrant(
userId: string,
host: string
): Promise<void>

Withdraws user userId's grant to the instance whose host is host: it stops answering for them there, and is told to end their sessions.

Parameters

userId: string
host: string

Return Type

Promise<void>

Throws

APIException

404 when they gave that instance no grant.

Usage

import { revokeGrant } from "api/services/identity-provider-service.ts";