Skip to main content
DELETE
Delete a user
Deleting a user is permanent and cannot be undone. The user is removed from your organization, and the user’s app access goes with it. KODE does not unassign the user’s apps first, so the delete succeeds even while an app assignment is still being set up.
If you create a user again with the same email address, the new user gets the same _id as the deleted one.
To remove a person’s access without deleting the user, use Update the status of a user to deactivate the user, or Remove app access from a user.

Authorizations

Authorization
string
header
required

Paste an access token from Create an access token. Tokens expire, so request a new one if you receive 401.

Path Parameters

userId
string
required

Identifier of the user to delete.

Response

The user was deleted. The response has no body.