To delete a user resource from the directory, you need to specify the environment and user IDs.

The sample shows the DELETE /environments/{environmentId}/users/{userId} operation to remove the specified user resource from the directory.

For successful delete operations, a 204 NO CONTENT message is returned by the request.