deactivateProject method

ResponseFuture<DeactivateProjectResponse> deactivateProject(
  1. DeactivateProjectRequest request, {
  2. CallOptions? options,
})

Deactivate Project

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 a project to deactivated. Request returns no error if the project is already deactivated. Applications under deactivated projects are not able to login anymore.

Required permission:

  • project.write

Implementation

$grpc.ResponseFuture<$0.DeactivateProjectResponse> deactivateProject(
  $0.DeactivateProjectRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$deactivateProject, request, options: options);
}