Delete User
workmail_delete_user | R Documentation |
Deletes a user from WorkMail and all subsequent systems¶
Description¶
Deletes a user from WorkMail and all subsequent systems. Before you can
delete a user, the user state must be DISABLED
. Use the
describe_user
action to confirm the user state.
Deleting a user is permanent and cannot be undone. WorkMail archives user mailboxes for 30 days before they are permanently removed.
Usage¶
workmail_delete_user(OrganizationId, UserId)
Arguments¶
OrganizationId |
[required] The organization that contains the user to be deleted. |
UserId |
[required] The identifier of the user to be deleted. The identifier can be the UserId or Username. The following identity formats are available:
|
Value¶
An empty list.
Request syntax¶
svc$delete_user(
OrganizationId = "string",
UserId = "string"
)