deactivateProjectGrant method

ResponseFuture<DeactivateProjectGrantResponse> deactivateProjectGrant(
  1. DeactivateProjectGrantRequest request, {
  2. CallOptions? options,
})

Deactivate Project Grant

Deprecated: please move to the corresponding endpoint under project service v2. This endpoint will be removed with the next major version of ZITADEL.

Set the state of the project grant to deactivated. Applications under deactivated projects grants are not able to login anymore.

Required permission:

  • project.grant.write

Implementation

$grpc.ResponseFuture<$0.DeactivateProjectGrantResponse>
    deactivateProjectGrant(
  $0.DeactivateProjectGrantRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$deactivateProjectGrant, request,
      options: options);
}