deleteProjectGrant method

ResponseFuture<DeleteProjectGrantResponse> deleteProjectGrant(
  1. DeleteProjectGrantRequest request, {
  2. CallOptions? options,
})

Delete 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.

Delete a project grant. All user grants for this project grant will also be removed. A user will not have access to the project afterward (if permissions are checked). In case the project grant is not found, the request will return a successful response as the desired state is already achieved.

Required permission:

  • project.grant.delete

Implementation

$grpc.ResponseFuture<$0.DeleteProjectGrantResponse> deleteProjectGrant(
  $0.DeleteProjectGrantRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$deleteProjectGrant, request, options: options);
}