We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 249d2a5 commit 3b02332Copy full SHA for 3b02332
1 file changed
ground_control_client/lib/src/protocol/client.dart
@@ -461,14 +461,15 @@ class EndpointProjects extends _i1.EndpointRef {
461
/// If [unassignAllRoles] is true, all roles on the project are unassigned
462
/// from the user.
463
///
464
+ /// Returns the list of role names that were actually unassigned.
465
/// Throws [NotFoundException] if the user or project does not exist.
- _i2.Future<void> detachUser({
466
+ _i2.Future<List<String>> detachUser({
467
required String cloudProjectId,
468
required String email,
469
List<String>? unassignRoleNames,
470
bool? unassignAllRoles,
471
}) =>
- caller.callServerEndpoint<void>(
472
+ caller.callServerEndpoint<List<String>>(
473
'projects',
474
'detachUser',
475
{
0 commit comments