Skip to main content
The deleteUsersFromWorkspace mutation removes one or more users from a workspace.
This action is irreversible. Deleted users lose all role assignments, attributes, and access to the workspace. Make sure you have the correct user IDs before calling this mutation.

Signature

Arguments

[ID!]!
required
The IDs of the users to delete. Use listUsers to find user IDs.
ID!
required
The workspace to remove the users from.

Permissions

Requires iam:delete scoped to the target workspace.

Response

ResponseStatus!
Indicates whether the operation succeeded. See ResponseStatus.

Usage example

List users

Query users before deleting them

Create users

Provision new users in a workspace