addProjectRole method

ResponseFuture<AddProjectRoleResponse> addProjectRole(
  1. AddProjectRoleRequest request, {
  2. CallOptions? options,
})

Add Project Role

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

Add a new project role to a project. The key must be unique within the project.

Required permission:

  • project.role.write

Implementation

$grpc.ResponseFuture<$0.AddProjectRoleResponse> addProjectRole(
  $0.AddProjectRoleRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$addProjectRole, request, options: options);
}