Skip to content

Commit 3b02332

Browse files
author
serverpod_cloud
committed
feat: 6c38bb57a29cd3e017d08cf1580bc4948966eada
1 parent 249d2a5 commit 3b02332

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

ground_control_client/lib/src/protocol/client.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,15 @@ class EndpointProjects extends _i1.EndpointRef {
461461
/// If [unassignAllRoles] is true, all roles on the project are unassigned
462462
/// from the user.
463463
///
464+
/// Returns the list of role names that were actually unassigned.
464465
/// Throws [NotFoundException] if the user or project does not exist.
465-
_i2.Future<void> detachUser({
466+
_i2.Future<List<String>> detachUser({
466467
required String cloudProjectId,
467468
required String email,
468469
List<String>? unassignRoleNames,
469470
bool? unassignAllRoles,
470471
}) =>
471-
caller.callServerEndpoint<void>(
472+
caller.callServerEndpoint<List<String>>(
472473
'projects',
473474
'detachUser',
474475
{

0 commit comments

Comments
 (0)