Skip to main content

Delete User

Delete the user with ID user_id from the system.

The API will not automatically delete phones associated with the user; remove them permanently with Delete Phone.

This action succeeds if the phone was found or if no such phone exists.

Requires "Grant write resource" API permission.

danger

Users deleted by the API do not get moved into the Trash view as "Pending Deletion" as they would if removed by directory sync, user deletion, or interactively from the Duo Admin Panel, and therefore are not available for restoration. Users deleted via the API are immediately and permanently removed from Duo.

Parameters

ParameterDescription
User IDThe ID of the user to delete.

Example Output

{
"response": "",
"stat": "OK"
}

Workflow Library Example

Delete User with Duo and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop